Details
-
Type: Bug
-
Status: Resolved
-
Priority: Critical
-
Resolution: Fixed
-
Affects Version/s: 2.0
-
Fix Version/s: 2.0.1
-
Component/s: packaging&distribution
-
Labels:
Description
If a Fasta formatted file has '>' character in the description as well as the start of the line jabaws errors with:
Mar 19, 2012 12:18:47 PM compbio.ws.client.Jws2Client connect
INFO: Connected successfully!
Exception in thread "main" java.lang.AssertionError: The FASTA sequence must contain the header information separated by the new line from the sequence. Given sequence does not appear to contain the header! Given data:
sp|Q8WW27|ABEC4_HUMAN Putative C-
at compbio.data.sequence.FastaReader.toFastaSequence(Unknown Source)
at compbio.data.sequence.FastaReader.next(Unknown Source)
at compbio.data.sequence.SequenceUtil.readFasta(Unknown Source)
at compbio.data.sequence.SequenceUtil.openInputStream(Unknown Source)
at compbio.ws.client.Jws2Client.analize(Unknown Source)
at compbio.ws.client.Jws2Client.<init>(Unknown Source)
at compbio.ws.client.Jws2Client.main(Unknown Source)
There are several examples of proteins with '>' in the description line in Uniprot: e.g.:
>sp|Q8WW27|ABEC4_HUMAN Putative C->U-editing enzyme APOBEC-4 OS=Homo sapiens GN=APOBEC4 PE=2 SV=1
Mar 19, 2012 12:18:47 PM compbio.ws.client.Jws2Client connect
INFO: Connected successfully!
Exception in thread "main" java.lang.AssertionError: The FASTA sequence must contain the header information separated by the new line from the sequence. Given sequence does not appear to contain the header! Given data:
sp|Q8WW27|ABEC4_HUMAN Putative C-
at compbio.data.sequence.FastaReader.toFastaSequence(Unknown Source)
at compbio.data.sequence.FastaReader.next(Unknown Source)
at compbio.data.sequence.SequenceUtil.readFasta(Unknown Source)
at compbio.data.sequence.SequenceUtil.openInputStream(Unknown Source)
at compbio.ws.client.Jws2Client.analize(Unknown Source)
at compbio.ws.client.Jws2Client.<init>(Unknown Source)
at compbio.ws.client.Jws2Client.main(Unknown Source)
There are several examples of proteins with '>' in the description line in Uniprot: e.g.:
>sp|Q8WW27|ABEC4_HUMAN Putative C->U-editing enzyme APOBEC-4 OS=Homo sapiens GN=APOBEC4 PE=2 SV=1