Skip to content

PeptideMapper does not find occurences with more than one 'X' #66

Description

@cbielow

Hi,

I'm doing some testing for PeptideMapper and found a restriction, namely it seems to consider at most one 'X' per match.

Here is a small demo:
Given proteins PEPTIDEMAPPER_TEST.fasta:

sp|GGGG|...
GGGG
sp|GGGGX|...
GGGGX
sp|GGGGXX|...
GGGGXX
sp|GGGGAA|...
GGGGAA

and the peptides PEPTIDEMAPPER_TEST_peps.csv:

GGGGAA
GGGGA
GGGG
GGGGXX

, PeptideMapper will report this:

GGGGAA,GGGGAA,1
GGGGA,GGGGAA,1
GGGG,GGGGXX,1
GGGX,GGGGXX,2
GGGX,GGGGX,2
GGGG,GGGGAA,1
GGGGX,GGGGX,1
GGGG,GGGGX,1
GGGGX,GGGGXX,1
GGGG,GGGG,1

thus, peptide GGGGAA will not match to protein GGGGXX; it seems matches are only allowed to contain 1 'X at most.
Also peptide GGGGXX will not match to protein GGGGXX (which would be an exact match).

Is this intended behaviour?

Invocation was:
java -cp $FM_jar com.compomics.cli.peptide_mapper.PeptideMapperCLI -p ../databases/PEPTIDEMAPPER_TEST.fasta ../databases/PEPTIDEMAPPER_TEST_peps.csv peptidemapper_result_minitest.csv -c 1

Activity

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

Metadata

Metadata

Assignees

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