Skip to content

Failure being caused by certain input sequences. #2

Description

@passdan

I am getting the following error being caused by certain sequences. When I remove the offending sequence the process continues fine, but I can't understand how the error is being caused as the input is exactly the same size and format as the other sequences. No sequences are put into the 'failed' output file.

My input is ~7000 rbcl gene nucleotide sequences being corrected against ~170 ncbi protein references as follows:

java -jar ~/programs/RDPTools/FrameBot.jar framebot  -N -o test bac_protein.fas rbcl_nucl.fas

Sequence input example (failure causing):

>DTM44_641
CGTTTTTTAAATTGTATGGAAGGTATTAACCGTGCTGCAGCTGCAACAGGTGAAGTTAAAGGTTCTTACTTAAACGTTACTGCAGCGACTATGGAAGAAGTACTTAAACGCTGTGAATATGCAAAAGAAGTCGGTTCTATTATTGTTATGATCGATTTAGTTATGGGTTATACAGCAATTCAAAGTGCTGCAATCTGGGCTCGTGACAACGATATGCTTTTACATTTACACCGTGCCGGTAACTCTACTTATGCACGTCAAAAAAGTCATGGTATTAATTTCCGTGTAATCTGTAAATGGATGCGTATGTCTGGTGTTGATCATATTCACGCTGGTACAGTTGTAGGTAAATTAGAAGGTGATCCTTTAATGATTAAAGGTTTCTATGATACTTTACGTTTAACAAAATTTAGAGGTTAATTTACCTTATGGTATTTTTCTTCGAAAGTGACATGGGCAAGTTTACGCCGTTGTATGCCTGTTGCATCTGGTGGTATTCATTGTGGTCAAATGCATCAATTAGTTCACTATTTAGGTGATGATGTAATAT

Error Message:

Exception in thread "main" java.lang.IllegalArgumentException: Cannot score R, ?
        at edu.msu.cme.rdp.alignment.pairwise.ScoringMatrix.score(ScoringMatrix.java:180)
        at edu.msu.cme.rdp.framebot.core.FramebotCore.computeMatrix(FramebotCore.java:81)
        at edu.msu.cme.rdp.framebot.core.FramebotCore.processSequence(FramebotCore.java:67)
        at edu.msu.cme.rdp.framebot.cli.FramebotMain.framebotItUp_prefilter(FramebotMain.java:136)
        at edu.msu.cme.rdp.framebot.cli.FramebotMain.main(FramebotMain.java:381)
        at edu.msu.cme.rdp.framebot.cli.Main.main(Main.java:48)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions