Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • 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)

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

    Comment


    • #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

      • seqadmin
        Genetic Variation in Immunogenetics and Antibody Diversity
        by seqadmin



        The field of immunogenetics explores how genetic variations influence immune responses and susceptibility to disease. In a recent SEQanswers webinar, Oscar Rodriguez, Ph.D., Postdoctoral Researcher at the University of Louisville, and Ruben Martínez Barricarte, Ph.D., Assistant Professor of Medicine at Vanderbilt University, shared recent advancements in immunogenetics. This article discusses their research on genetic variation in antibody loci, antibody production processes,...
        11-06-2024, 07:24 PM
      • seqadmin
        Choosing Between NGS and qPCR
        by seqadmin



        Next-generation sequencing (NGS) and quantitative polymerase chain reaction (qPCR) are essential techniques for investigating the genome, transcriptome, and epigenome. In many cases, choosing the appropriate technique is straightforward, but in others, it can be more challenging to determine the most effective option. A simple distinction is that smaller, more focused projects are typically better suited for qPCR, while larger, more complex datasets benefit from NGS. However,...
        10-18-2024, 07:11 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, Today, 11:09 AM
      0 responses
      22 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, Today, 06:13 AM
      0 responses
      20 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 11-01-2024, 06:09 AM
      0 responses
      30 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 10-30-2024, 05:31 AM
      0 responses
      21 views
      0 likes
      Last Post seqadmin  
      Working...
      X