Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • SAMtools command line ???

    Does anyone have a quick list of the most used SAMtool command lines

    I'm really new to using UNIX:Linux and I would greatly appreciate if someone could share a pdf/doc for the SAMtool commands

    Thank you very much and hv a nice day

    Pawan

  • #2
    Running samtools without an argument will list all commands available. Then running the command without further arguments will tell you its usage.

    Comment


    • #3

      Comment


      • #4
        Here's the basic workflow for most jobs. test1.sam is the output from your favorite alignment program. If not sam, you'll have to convert it SAM but many aligners are providing SAM output these days. The "export" command is a bash (bash is a common command line processor in UNIX/Linux) way of "aliasing" a longer command.

        export SAM=/usr/joeuser/samtools-0.1.8/samtools

        ${SAM} view -b -S test1.sam > test1.presort.bam

        ${SAM} sort -m 5179869184 test1.presort.bam test1

        ${SAM} index test1.bam

        ${SAM} flagstat test1.bam > test1.rpt

        Comment


        • #5
          Probably you want to start reading the FAQ. Then move to reading the manual for each
          action you want to use. Take your time for pileup.
          -drd

          Comment


          • #6
            Thank you very much guys .... I'll start with this info for now .... Have a nice evening Cheers

            Comment


            • #7
              Not related to samtools, but I believe you should read these:
              http://tldp.org/LDP/Bash-Beginners-Guide/html/
              and
              http://tldp.org/LDP/abs/html/
              You can't go much far in UNIX/Linux without knowing the shell...

              d

              Comment

              Latest Articles

              Collapse

              • seqadmin
                Strategies for Sequencing Challenging Samples
                by seqadmin


                Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
                03-22-2024, 06:39 AM
              • seqadmin
                Techniques and Challenges in Conservation Genomics
                by seqadmin



                The field of conservation genomics centers on applying genomics technologies in support of conservation efforts and the preservation of biodiversity. This article features interviews with two researchers who showcase their innovative work and highlight the current state and future of conservation genomics.

                Avian Conservation
                Matthew DeSaix, a recent doctoral graduate from Kristen Ruegg’s lab at The University of Colorado, shared that most of his research...
                03-08-2024, 10:41 AM

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by seqadmin, Yesterday, 06:37 PM
              0 responses
              8 views
              0 likes
              Last Post seqadmin  
              Started by seqadmin, Yesterday, 06:07 PM
              0 responses
              8 views
              0 likes
              Last Post seqadmin  
              Started by seqadmin, 03-22-2024, 10:03 AM
              0 responses
              49 views
              0 likes
              Last Post seqadmin  
              Started by seqadmin, 03-21-2024, 07:32 AM
              0 responses
              66 views
              0 likes
              Last Post seqadmin  
              Working...
              X