Uploaded image for project: 'JABAWS'
  1. JABAWS
  2. JWS-29

Jabaws commandline client fails with Fasta description lines containing extra '>' characters

    XMLWordPrintable

    Details

      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

        Attachments

          Activity

            People

            Assignee:
            jprocter James Procter
            Reporter:
            chriscole Chris Cole
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: