Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • swbarnes2
    Senior Member
    • May 2008
    • 910

    #16
    The samtools view expects a .bam file. test.sam.out is a sam file. You can just look at it with head or whatever to see if the read groups took.

    Also, if that perl script isn't working, just try something else. Picard does so many useful things, you might as well get it if you don't have it already.

    And converting the .bam to a .sam is a little silly. Can't you pipe the .bam through samtools view into the perl script?
    Last edited by swbarnes2; 02-12-2013, 02:07 PM.

    Comment

    • jwhite
      Member
      • Jun 2012
      • 33

      #17
      Originally posted by swbarnes2 View Post
      The samtools view expects a .bam file. test.sam.out is a sam file. You can just look at it with head or whatever to see if the read groups took.

      Also, if that perl script isn't working, just try something else. Picard does so many useful things, you might as well get it if you don't have it already.

      And converting the .bam to a .sam is a little silly. Can't you pipe the .bam through samtools view into the perl script?
      Thanks for your help. I thought samtools view also viewed sam files--even though 'less' works too.

      Yes, I can get Picard. I've avoided it because I did not want to deal with java for this pipeline.

      Yes, I can pipe the view output into the perl script. Hadn't though about that.

      But my main issue has been that samtools view has been throwing up these errors when I supply BAM files as imput. These BAM files were generated by samtools; that's what I don't get. Something has been altered in the BAM files such that they are no longer readable by samtools.

      Joe
      Last edited by jwhite; 02-13-2013, 06:37 AM.

      Comment

      Latest Articles

      Collapse

      • kinpict.com
        Reply to 16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
        by kinpict.com
        The part about this topic feels surprisingly grounded, and the details on the page is the bit that made me slow down. I’d keep <a href="https://kinpict.com/">ai family photo generator</a> bookmarked for later.
        Today, 06:37 PM
      • SEQadmin2
        16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
        by SEQadmin2





        NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification,...
        10-30-2026, 06:46 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, 11-12-2026, 07:59 AM
      0 responses
      27 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 11-05-2026, 09:25 AM
      0 responses
      35 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 11-03-2026, 11:54 AM
      2 responses
      56 views
      0 reactions
      Last Post kinpict.com  
      Started by SEQadmin2, 10-28-2026, 09:57 AM
      0 responses
      175 views
      0 reactions
      Last Post SEQadmin2  
      Working...