Hi,
Am new to this and just reading manuals to get some work done quickly. Am trying to generate an index file to use with Scripture using picard-tools but am getting an error that I don't understand. Does anyone have a clue what am missing here. The error is below:
/Data/RNA_seq$ java -jar /home/mh/Data/seq/picard-tools-1.36/SortSam.jar I=GSM520_ES.aligned.sam O=GSM520.sorted.sam SO=coordinate
[Sat Feb 12 23:29:02 EST 2011] net.sf.picard.sam.SortSam INPUT=GSM520_ES.aligned.sam OUTPUT=GSM520.sam SORT_ORDER=unsorted TMP_DIR=/tmp/mh VERBOSITY=INFO QUIET=false VALIDATION_STRINGENCY=STRICT COMPRESSION_LEVEL=5 MAX_RECORDS_IN_RAM=500000 CREATE_INDEX=false CREATE_MD5_FILE=false
[Sat Feb 12 23:29:02 EST 2011] net.sf.picard.sam.SortSam done.
Runtime.totalMemory()=252379136
Exception in thread "main" net.sf.samtools.SAMFormatException: Error parsing text SAM file. Empty sequence dictionary.; Line 1
Line: SL-XAS:8:97:1621:1389#0 0 chr1 3044508 0 76M * 0 0 AGAGCGCATAGCCCAAGCCTTACCACTCCCACTATTCGGCCATTTCCCTTATATGAAAGAGGAGCGAGGACCTTCC abab`b`abaaa^`aab`ababaYa`aa_Za_aaaa`aa^_aaaa_]ZbaabXbbV\Wb_aa\a]aUa_^\VV\_W NM:i:0
at net.sf.samtools.SAMTextReader.reportErrorParsingLine(SAMTextReader.java:220)
at net.sf.samtools.SAMTextReader.access$500(SAMTextReader.java:40)
at net.sf.samtools.SAMTextReader$RecordIterator.parseLine(SAMTextReader.java:424)
at net.sf.samtools.SAMTextReader$RecordIterator.next(SAMTextReader.java:268)
at net.sf.samtools.SAMTextReader$RecordIterator.next(SAMTextReader.java:240)
at net.sf.samtools.SAMFileReader$AssertableIterator.next(SAMFileReader.java:612)
at net.sf.samtools.SAMFileReader$AssertableIterator.next(SAMFileReader.java:590)
at net.sf.picard.sam.SortSam.doWork(SortSam.java:58)
at net.sf.picard.cmdline.CommandLineProgram.instanceMain(CommandLineProgram.java:156)
at net.sf.picard.cmdline.CommandLineProgram.instanceMainWithExit(CommandLineProgram.java:117)
at net.sf.picard.sam.SortSam.main(SortSam.java:66)
Thanks
Am new to this and just reading manuals to get some work done quickly. Am trying to generate an index file to use with Scripture using picard-tools but am getting an error that I don't understand. Does anyone have a clue what am missing here. The error is below:
/Data/RNA_seq$ java -jar /home/mh/Data/seq/picard-tools-1.36/SortSam.jar I=GSM520_ES.aligned.sam O=GSM520.sorted.sam SO=coordinate
[Sat Feb 12 23:29:02 EST 2011] net.sf.picard.sam.SortSam INPUT=GSM520_ES.aligned.sam OUTPUT=GSM520.sam SORT_ORDER=unsorted TMP_DIR=/tmp/mh VERBOSITY=INFO QUIET=false VALIDATION_STRINGENCY=STRICT COMPRESSION_LEVEL=5 MAX_RECORDS_IN_RAM=500000 CREATE_INDEX=false CREATE_MD5_FILE=false
[Sat Feb 12 23:29:02 EST 2011] net.sf.picard.sam.SortSam done.
Runtime.totalMemory()=252379136
Exception in thread "main" net.sf.samtools.SAMFormatException: Error parsing text SAM file. Empty sequence dictionary.; Line 1
Line: SL-XAS:8:97:1621:1389#0 0 chr1 3044508 0 76M * 0 0 AGAGCGCATAGCCCAAGCCTTACCACTCCCACTATTCGGCCATTTCCCTTATATGAAAGAGGAGCGAGGACCTTCC abab`b`abaaa^`aab`ababaYa`aa_Za_aaaa`aa^_aaaa_]ZbaabXbbV\Wb_aa\a]aUa_^\VV\_W NM:i:0
at net.sf.samtools.SAMTextReader.reportErrorParsingLine(SAMTextReader.java:220)
at net.sf.samtools.SAMTextReader.access$500(SAMTextReader.java:40)
at net.sf.samtools.SAMTextReader$RecordIterator.parseLine(SAMTextReader.java:424)
at net.sf.samtools.SAMTextReader$RecordIterator.next(SAMTextReader.java:268)
at net.sf.samtools.SAMTextReader$RecordIterator.next(SAMTextReader.java:240)
at net.sf.samtools.SAMFileReader$AssertableIterator.next(SAMFileReader.java:612)
at net.sf.samtools.SAMFileReader$AssertableIterator.next(SAMFileReader.java:590)
at net.sf.picard.sam.SortSam.doWork(SortSam.java:58)
at net.sf.picard.cmdline.CommandLineProgram.instanceMain(CommandLineProgram.java:156)
at net.sf.picard.cmdline.CommandLineProgram.instanceMainWithExit(CommandLineProgram.java:117)
at net.sf.picard.sam.SortSam.main(SortSam.java:66)
Thanks
Comment