Skip to content

Commit

Permalink
Improve a comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
fcyu committed Mar 15, 2018
1 parent e275b43 commit 9031e71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/proteomics/Index/BuildIndex.java
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ private Map<String, Set<String>> buildSeqProMap(Map<String, String> pro_seq_map,

boolean n_term = false;
boolean c_term = false;
if (decoy_pro_seq.startsWith(decoy_seq.substring(1, decoy_seq.length() - 1))) { // here, we don't consider the first "M" being cut situation.
if (decoy_pro_seq.startsWith(decoy_seq.substring(1, decoy_seq.length() - 1))) { // here, we don't consider the first "M" being cut situation because it is the decoy sequence. The first "M" doesn't have any meaning.
n_term = true;
}
if (decoy_pro_seq.endsWith(decoy_seq.substring(1, decoy_seq.length() - 1))) {
Expand Down

0 comments on commit 9031e71

Please sign in to comment.