Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Announce samtools on Windows x64

    Dear all,

    samtools is up for download here:



    Source code is here:

    samtools on Windows x64. Contribute to xied75/samtools development by creating an account on GitHub.


    Visual studio solution files to follow, in case you would like to compile it yourself.

    Best,

    Dong Xie

  • #2
    It is a shame you forked from the old experimental git repository https://github.com/lh3/samtools (which had a partial history only) instead of the official git repository https://github.com/samtools/samtools (converted from SVN) which would then make it much easier to submit a pull request to merge the code contributions.

    However, looking over your repository, it looks like one big commit, a lot of which looks like white space changes which obscures the real work

    Comment


    • #3
      Gosh!

      It's only yesterday LH said this: https://github.com/lh3/samtools/issu...omment-5720997

      So someone please confirm WHICH is really official?!

      In fact I started my coding from sourceforge http://sourceforge.net/projects/samt...mtools/0.1.18/

      It's only because I need to release the source on GitHub thus I forked from lh3. I don't even know the other one before you said it.

      And, this is a fork for 64 bit Windows, no, it's not just white space differences, can you use some diff tool options to ignore new-line or space diff (I use winmerge).

      Most of the changes are done to work around the Microsoft Visual C++'s non-exist support of C99, except 1 or 2 places I may suggest a pull, I don't see any reason this fork need to be pull/merged with master branch.

      To be clear, my fork doesn't need any 3rd party library to compile, and the output generated is identical with Linux version. I understand that inside samtools source there are some places mentioned Windows/Win32, yet these code only help you compile a .exe under some 3rd party library, but that binary is useless for serious work.

      One thing I did test is pipe, pipe in pipe out, so you can chain samtools.exe like you can on Linux, e.g. samtools view -bSu toy.sam | samtools sort -n -o - nsort_tmp | samtools fixmate - - | samtools sort -o - csort_tmp | samtools fillmd -u - ref.fa > fixed_bam.bam
      (note: this is a step in 1000G project data process, my windows version generates identical output as Linux, on similar speed.)

      Best,

      dong

      Comment


      • #4
        The repository situation is not so clear unless you've been following on the samtools-devel mailing list. There are still some out of date references to SVN on the main http://samtools.sourceforge.net/ homepage

        It seems to me that any changes to get samtools to compile on Windows 64 bit should go into the main repository, just like changes to get it to compile on Windows 32 bit, with suitable #defines.

        As regards testing, see open issue https://github.com/samtools/samtools/issues/1

        Comment


        • #5
          After two weeks radio silence, I found the download number on my codeplex interesting, 47 times of BWA x64 v.s. 16 times of samtools x64. Leave me wonder how come people only want BWA without using samtools?!

          So I thought it's better to make some statements here, which Peter might also agree.

          1, Above discussions are about some technique details of source code control system, and some unsettled issues within a certain small circle.
          2, In no way item 1 affects my code/work quality and the usability of my port, or my good intention.
          3, Thus if you are regular end user who run Windows and need samtools, you can safely skip above discussions and download my port to try out.

          Best,

          dong

          Comment


          • #6
            Suggestion

            My one cent suggestion is if you can enlist steps (in the form of a link) to download and head start using BWA and samtools for biologist that will be useful. Consider other people are computer illiterate. Just as Jon Kates in this forum has done.

            Comment


            • #7
              ... I was trying to say the download number is unbalanced on my codeplex site ... that is more download on bwa than samtools ...

              Anyway, I only recently realized that most Windows users are expecting tools with easy accessable GUI and prefer mouse click than command line terminal. This is definitely different than the Linux way.

              I can't do much to change the bwa and samtools into Windows style because these were designed with Unix spirit. What I can do is wrap these tools into GUI so that Windows user could click mouse, just not sure how many would prefer this.

              Could you show me the threads by Jon Kates? My search on this name got no results.

              I might able to document how you use these tools under Windows, step by step, or with screen capture, if there is demand. (p.s. If you want something like that, please shout!)

              Best,

              dong

              Comment


              • #8
                Info

                sorry about name typo-


                I understand your point however what I what to point out that adding steps will be kind of easy to follow by biologist. It is not for me personally but for the scientific community here especially biologists without depending upon bioinfromatic personnel. The simplest way may be if you just put down the steps as in attached post (may be without GUI) that may be very helpful.

                Thanks

                Comment


                • #9
                  samtools and BWA for windows

                  I think such detiled steps to instalation and getting started with BWA and samtools in windows environment should be useful.
                  Thanks

                  Comment


                  • #10
                    Has anyone experienced issues trying to run samtools on windows x64? The .exe files don't seem to launch properly on my machine.
                    Best,
                    J

                    Comment


                    • #11
                      Anybody tried samtools 1.1 wih modern Visual C compiler on windows lately?

                      Any suggestions ?

                      Comment


                      • #12
                        Originally posted by Richard Finney View Post
                        Anybody tried samtools 1.1 wih modern Visual C compiler on windows lately?

                        Any suggestions ?
                        Hi @Richard, I am also trying to compile the source with Visual Studio.I am just wondering if you managed to compile it ?

                        Thanks,
                        Serhat

                        Comment


                        • #13
                          It's a pain porting to visual C.

                          I ~tried~. I got hung up chasing the thread stuff after 0.19 samtools and never punched it through.

                          I do have a hacked Visual C samtools 0.18 available at NCI's Alview github site https://github.com/NCIP/alview under sam01832 directory; however full functionality might not be not there. I just needed the darn bam read capability and did not test other features.

                          Heng went a little wild on the khash table stuff which makes it very tough to cut out just a chunk of samtools.
                          Last edited by Richard Finney; 03-11-2015, 05:43 AM.

                          Comment


                          • #14
                            Thanks a lot! I will check it out. I have asked @Dong for the solution files as it would be much more easier to move on with.

                            Cheers,
                            Serhat

                            Comment


                            • #15
                              Originally posted by serhatg View Post
                              Hi @Richard, I am also trying to compile the source with Visual Studio.I am just wondering if you managed to compile it ?

                              Thanks,
                              Serhat
                              We managed to compile samtools 1.1 on Windows (64 bit). Most of the functionality works. If you are interested, omnomicsQ contains compiled samtools which you can use. A registration for a free trial is needed.

                              We are planning to submit the modifications to github in the near future.

                              Best regards
                              Jussi

                              Comment

                              Latest Articles

                              Collapse

                              • seqadmin
                                Advancing Precision Medicine for Rare Diseases in Children
                                by seqadmin




                                Many organizations study rare diseases, but few have a mission as impactful as Rady Children’s Institute for Genomic Medicine (RCIGM). “We are all about changing outcomes for children,” explained Dr. Stephen Kingsmore, President and CEO of the group. The institute’s initial goal was to provide rapid diagnoses for critically ill children and shorten their diagnostic odyssey, a term used to describe the long and arduous process it takes patients to obtain an accurate...
                                12-16-2024, 07:57 AM
                              • seqadmin
                                Recent Advances in Sequencing Technologies
                                by seqadmin



                                Innovations in next-generation sequencing technologies and techniques are driving more precise and comprehensive exploration of complex biological systems. Current advancements include improved accessibility for long-read sequencing and significant progress in single-cell and 3D genomics. This article explores some of the most impactful developments in the field over the past year.

                                Long-Read Sequencing
                                Long-read sequencing has seen remarkable advancements,...
                                12-02-2024, 01:49 PM

                              ad_right_rmr

                              Collapse

                              News

                              Collapse

                              Topics Statistics Last Post
                              Started by seqadmin, 12-17-2024, 10:28 AM
                              0 responses
                              27 views
                              0 likes
                              Last Post seqadmin  
                              Started by seqadmin, 12-13-2024, 08:24 AM
                              0 responses
                              43 views
                              0 likes
                              Last Post seqadmin  
                              Started by seqadmin, 12-12-2024, 07:41 AM
                              0 responses
                              29 views
                              0 likes
                              Last Post seqadmin  
                              Started by seqadmin, 12-11-2024, 07:45 AM
                              0 responses
                              42 views
                              0 likes
                              Last Post seqadmin  
                              Working...
                              X