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
                Recent Advances in Sequencing Analysis Tools
                by seqadmin


                The sequencing world is rapidly changing due to declining costs, enhanced accuracies, and the advent of newer, cutting-edge instruments. Equally important to these developments are improvements in sequencing analysis, a process that converts vast amounts of raw data into a comprehensible and meaningful form. This complex task requires expertise and the right analysis tools. In this article, we highlight the progress and innovation in sequencing analysis by reviewing several of the...
                Yesterday, 07:48 AM
              • seqadmin
                Essential Discoveries and Tools in Epitranscriptomics
                by seqadmin




                The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
                04-22-2024, 07:01 AM

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by seqadmin, Today, 06:57 AM
              0 responses
              7 views
              0 likes
              Last Post seqadmin  
              Started by seqadmin, Yesterday, 07:17 AM
              0 responses
              13 views
              0 likes
              Last Post seqadmin  
              Started by seqadmin, 05-02-2024, 08:06 AM
              0 responses
              19 views
              0 likes
              Last Post seqadmin  
              Started by seqadmin, 04-30-2024, 12:17 PM
              0 responses
              22 views
              0 likes
              Last Post seqadmin  
              Working...
              X