Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • Can I view output the entire genome data?

    Suppose I have a sam file?
    Can I use samtools command to get whole genome data?

    Thanks.

  • #2
    Could you describe what "whole genome data" means?

    Comment


    • #3
      If we use samtools, we can select chromosome.
      The entire means from chr1 to chr 23.

      Comment


      • #4
        By default, samtools view will convert the whole .sam file into a .bam. Just don't add a chromosome name to the command line, and you'll get everything.

        Comment


        • #5
          Can we identify the start and the end position?
          I just guess that start from 0 and end with a big number.

          Comment


          • #6
            If you want the whole thing then don't add start or end positions. From reading the man page, I gather that specifying start and end positions without indicating an actual chromosome would confuse things.
            Last edited by dpryan; 11-09-2011, 02:13 PM. Reason: I should really proof read before hitting post...

            Comment


            • #7
              to get everything just:
              Code:
              samtools view .bam
              to get everything and the header:
              Code:
              samtools view -h .bam
              for .sam, add the sam option
              Code:
              samtools view -S .sam
              however, if you did want to make selections from the sam:
              Code:
              samtools view -S .sam chr1:0-1000000
              will grab reads that meet the criteria of being on chr1 between 0 and 1000000 (inclusive)
              Last edited by jbrwn; 11-09-2011, 02:24 PM.

              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