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
        Non-Coding RNA Research and Technologies
        by seqadmin




        Non-coding RNAs (ncRNAs) do not code for proteins but play important roles in numerous cellular processes including gene silencing, developmental pathways, and more. There are numerous types including microRNA (miRNA), long ncRNA (lncRNA), circular RNA (circRNA), and more. In this article, we discuss innovative ncRNA research and explore recent technological advancements that improve the study of ncRNAs.

        Nobel Prize for MicroRNA Discovery
        This week,...
        10-07-2024, 08:07 AM
      • seqadmin
        Recent Developments in Metagenomics
        by seqadmin





        Metagenomics has improved the way researchers study microorganisms across diverse environments. Historically, studying microorganisms relied on culturing them in the lab, a method that limits the investigation of many species since most are unculturable1. Metagenomics overcomes these issues by allowing the study of microorganisms regardless of their ability to be cultured or the environments they inhabit. Over time, the field has evolved, especially with the advent...
        09-23-2024, 06:35 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, 10-11-2024, 06:55 AM
      0 responses
      10 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 10-02-2024, 04:51 AM
      0 responses
      109 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 10-01-2024, 07:10 AM
      0 responses
      114 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 09-30-2024, 08:33 AM
      1 response
      119 views
      0 likes
      Last Post EmiTom
      by EmiTom
       
      Working...
      X