Closed jordi-vaquero closed 4 years ago
I'm not sure if this is a typo in what you pasted into github, or what is actually in your file, but the pasted bit is not in correct format, as it starts with SRR814563_2.fastq00006
... and not an @
symbol.
Can you double check that?
Hi, yes that is a header in the file included by the sratool when you generate the files using it.
That is really strange. I have three comments:
(1) To my knowledge there is no such thing as a FASTQ header... as far as I understand it the format is defined as consecutive FASTQ entries which are 4 lines in total. Are you sure you aren't somehow capturing some text into those files that shouldn't be there with whatever you're doing on the command line? For example, the "header" appears to have your userid jordi
in it??
(2) If you are completely certain this is a legitimate header that is supposed to be there... then feel free to open an issue at http://github.com/BioJulia/BioSequences.jl -- the error you are getting
ERROR: LoadError: BioSequences.FASTQ.Reader file format error on line 1 ~>"SRR81456"
Stacktrace:
[1] _read!(::BioSequences.FASTQ.Reader, ::BioCore.Ragel.State{BufferedStreams.BufferedInputStream{BufferedStreams.BufferedInputStream{Libz.Source{:inflate,BufferedStreams.BufferedInputStream{IOStream}}}}}, ::BioSequences.FASTQ.Record) at /home/jordi/.julia/v0.6/BioCore/src/ReaderHelper.jl:164
[2] read! at /home/jordi/.julia/v0.6/BioCore/src/ReaderHelper.jl:134 [inlined]
is an error thrown by the BioSequences.FASTQ.Reader, and not any code in Whippet... As of now (and in the future) Whippet uses the standard BioJulia parsers for standard file formats. If a file produced by a specific program doesn't fit the expected format of the standard parsers, then that's beyond the scope of this repository. But again, I'm skeptical that your FASTQ file is in proper format.
(3) You can download FASTQ files for every dataset in GEO from ebi.ac.uk without having to deal with sra format at all... to my knowledge, these all work with Whippet. I personally use this to avoid sratools entirely.
Hope that helps! I'm going to close this issue anyways, as I don't think it's related to any code in the Whippet.jl repository.
I am trying to quantify some files with the following line of code,
julia whippet-quant.jl /dir/SRR814563_1.fq.gz /dir/SRR814563_2.fq.gz -x /dir/index.hg38.fa.gz.jls --biascorrect
But it failed with the following error
I checked the format of the fq.gz files and it is proper, and that has been just downloaded with sra-tools