Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • oiiio
    Senior Member
    • Jan 2011
    • 105

    #1

    Picard with SMALT?

    Has anyone ever tried to use Picard tools with SMALT? Specifically AddOrReplaceReadGroups and MarkDuplicates. Here is the error I get when trying to add read groups:

    Code:
    [Thu Apr 19 16:26:33 EDT 2012] Executing as gareth@farin on Linux 3.0.0-17-generic amd64; OpenJDK 64-Bit Server VM 1.6.0_23-b23; Picard version: 1.65(1160)
    INFO	2012-04-19 16:26:33	AddOrReplaceReadGroups	Created read group ID=foo PL=illumina LB=bar SM=GARETH
    
    [Thu Apr 19 16:26:33 EDT 2012] net.sf.picard.sam.AddOrReplaceReadGroups done. Elapsed time: 0.00 minutes.
    Runtime.totalMemory()=1901723648
    FAQ:  http://sourceforge.net/apps/mediawiki/picard/index.php?title=Main_Page
    Exception in thread "main" java.lang.IllegalArgumentException: No enum const class net.sf.samtools.SAMFileHeader$SortOrder.unknown
    	at java.lang.Enum.valueOf(Enum.java:214)
    	at net.sf.samtools.SAMFileHeader$SortOrder.valueOf(SAMFileHeader.java:59)
    	at net.sf.samtools.SAMFileHeader.getSortOrder(SAMFileHeader.java:240)
    	at net.sf.picard.sam.AddOrReplaceReadGroups.doWork(AddOrReplaceReadGroups.java:87)
    	at net.sf.picard.cmdline.CommandLineProgram.instanceMain(CommandLineProgram.java:177)
    	at net.sf.picard.cmdline.CommandLineProgram.instanceMainWithExit(CommandLineProgram.java:119)
    	at net.sf.picard.sam.AddOrReplaceReadGroups.main(AddOrReplaceReadGroups.java:61)
  • bosTau2
    Member
    • Nov 2008
    • 12

    #2
    Are you trying to sort as well? Without sorting, picard worked for my Smalt bams.
    picard => samtools sort =>

    Comment

    • gaffa
      Member
      • Oct 2010
      • 82

      #3
      I think I have encountered this problem - if I remember correctly I think the problem is that SMALT puts "unknown" as the value for the SO tag and that this value is not allowed by Picard. I think it worked fine after I changed these tags.

      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...