Commit d28bc001 authored by Mathieu Courcelles's avatar Mathieu Courcelles

Fixes support for Kojak 1.6.1 (Issue #27)

Issue with intra-peptide cross-link
parent 7177484c
Pipeline #15073239 passed with stage
No preview for this file type
......@@ -211,8 +211,8 @@ class KojakParser:
clpep.peptide_position2 = clpep.fs_prot2_id.sequence.find(fields['peptide_wo_mod2']) + 1
pep_pos_dict[key] = clpep.peptide_position2
if fields['peptide_position2'] == -1 and fields['pep2_link_pos'] != -1:
clpep.peptide_position2 = fields['peptide_position1']
if clpep.peptide_position2 == -1 and fields['pep2_link_pos'] != -1:
clpep.peptide_position2 = clpep.peptide_position1
clpep.guessLinkType()
# clpep.id = next_id
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment