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
                Current Approaches to Protein Sequencing
                by seqadmin


                Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
                04-04-2024, 04:25 PM
              • 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

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by seqadmin, 04-11-2024, 12:08 PM
              0 responses
              17 views
              0 likes
              Last Post seqadmin  
              Started by seqadmin, 04-10-2024, 10:19 PM
              0 responses
              22 views
              0 likes
              Last Post seqadmin  
              Started by seqadmin, 04-10-2024, 09:21 AM
              0 responses
              16 views
              0 likes
              Last Post seqadmin  
              Started by seqadmin, 04-04-2024, 09:00 AM
              0 responses
              46 views
              0 likes
              Last Post seqadmin  
              Working...
              X