SEQanswers

Go Back   SEQanswers > Bioinformatics > Bioinformatics



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a program to error check / clean up FASTQ files? marcovth Bioinformatics 1 11-04-2011 07:29 AM
SRMA error Ori Bioinformatics 6 08-19-2011 07:09 AM
SRMA - Error - cs TAG mrxcm3 Bioinformatics 3 06-20-2011 09:12 AM
SRMA Error dmurdock Bioinformatics 14 10-21-2010 05:02 PM
How to check read are properly paired from SAM file? jlfmssm Bioinformatics 5 06-25-2010 10:23 PM

Reply
 
Thread Tools
Old 10-08-2010, 09:36 PM   #1
allenday
Junior Member
 
Location: Los Angeles, California, USA

Join Date: Oct 2010
Posts: 1
Default srma-0.1.8 error - Cannot check readability of null file.

Trying to use srma for the first time, version 0.1.8. Here's the invocation:

Code:
java -jar ./srma-0.1.8.jar INPUT=x.sam REFERENCE=chr22.fa OUTPUT=x.out
...and the output:

Code:
[Sat Oct 09 05:26:25 UTC 2010] srma.SRMA REFERENCE=chr22.fa    OFFSET=20 MIN_MAPQ=0 MINIMUM_ALLELE_PROBABILITY=0.1 MINIMUM_ALLELE_COVERAGE=3 MAXIMUM_TOTAL_COVERAGE=100 CORRECT_BASES=false USE_SEQUENCE_QUALITIES=true QUIET_STDERR=false MAX_HEAP_SIZE=8192 MAX_QUEUE_SIZE=65536 NUM_THREADS=1 TMP_DIR=/tmp/ec2-user VERBOSITY=INFO QUIET=false VALIDATION_STRINGENCY=STRICT COMPRESSION_LEVEL=5 MAX_RECORDS_IN_RAM=500000 CREATE_INDEX=false
java.lang.IllegalArgumentException: Cannot check readability of null file.
	at net.sf.picard.io.IoUtil.assertFileIsReadable(IoUtil.java:48)
	at net.sf.picard.reference.FastaSequenceIndex.<init>(FastaSequenceIndex.java:54)
	at net.sf.picard.reference.IndexedFastaSequenceFile.<init>(IndexedFastaSequenceFile.java:95)
	at srma.SRMA.doWork(SRMA.java:125)
	at net.sf.picard.cmdline.CommandLineProgram.instanceMain(CommandLineProgram.java:160)
	at srma.SRMA.main(SRMA.java:92)
Please report bugs to srma-help@lists.sourceforge.net
... and yes, the inputs exist:

Code:
ls -l x.sam chr22.fa 
-rw-rw-r-- 1 ec2-user ec2-user 50685268 Oct  9 05:23 chr22.fa
-rw-rw-r-- 1 ec2-user ec2-user    25181 Oct  9 05:32 x.sam
Help appreciated.
allenday is offline   Reply With Quote
Old 10-11-2010, 11:30 PM   #2
nilshomer
Nils Homer
 
nilshomer's Avatar
 
Location: Boston, MA, USA

Join Date: Nov 2008
Posts: 1,285
Default

Quote:
Originally Posted by allenday View Post
Trying to use srma for the first time, version 0.1.8. Here's the invocation:

Code:
java -jar ./srma-0.1.8.jar INPUT=x.sam REFERENCE=chr22.fa OUTPUT=x.out
...and the output:

Code:
[Sat Oct 09 05:26:25 UTC 2010] srma.SRMA REFERENCE=chr22.fa    OFFSET=20 MIN_MAPQ=0 MINIMUM_ALLELE_PROBABILITY=0.1 MINIMUM_ALLELE_COVERAGE=3 MAXIMUM_TOTAL_COVERAGE=100 CORRECT_BASES=false USE_SEQUENCE_QUALITIES=true QUIET_STDERR=false MAX_HEAP_SIZE=8192 MAX_QUEUE_SIZE=65536 NUM_THREADS=1 TMP_DIR=/tmp/ec2-user VERBOSITY=INFO QUIET=false VALIDATION_STRINGENCY=STRICT COMPRESSION_LEVEL=5 MAX_RECORDS_IN_RAM=500000 CREATE_INDEX=false
java.lang.IllegalArgumentException: Cannot check readability of null file.
	at net.sf.picard.io.IoUtil.assertFileIsReadable(IoUtil.java:48)
	at net.sf.picard.reference.FastaSequenceIndex.<init>(FastaSequenceIndex.java:54)
	at net.sf.picard.reference.IndexedFastaSequenceFile.<init>(IndexedFastaSequenceFile.java:95)
	at srma.SRMA.doWork(SRMA.java:125)
	at net.sf.picard.cmdline.CommandLineProgram.instanceMain(CommandLineProgram.java:160)
	at srma.SRMA.main(SRMA.java:92)
Please report bugs to srma-help@lists.sourceforge.net
... and yes, the inputs exist:

Code:
ls -l x.sam chr22.fa 
-rw-rw-r-- 1 ec2-user ec2-user 50685268 Oct  9 05:23 chr22.fa
-rw-rw-r-- 1 ec2-user ec2-user    25181 Oct  9 05:32 x.sam
Help appreciated.
There is a potential bug in Picard that I am investigating right now giving this cryptic error message. Try running "samtools faidx chr22.fa". You need to index the reference FASTA file.
nilshomer is offline   Reply With Quote
Reply

Tags
srma

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off




All times are GMT -8. The time now is 03:11 PM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Single Sign On provided by vBSSO