Skip to content

Commit

Permalink
Add ITAG data type.
Browse files Browse the repository at this point in the history
  • Loading branch information
fcyu committed Mar 9, 2018
1 parent e3fecc5 commit 36a1cf1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/proteomics/TheoSeq/DbTool.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public DbTool(String db_name, String databaseType) throws IOException {
header_pattern = Pattern.compile("^>([^\\s]+)[\\s|]+(.+)$");
} else if (databaseType.contentEquals("UniProt") || databaseType.contentEquals("SwissProt")) {
header_pattern = Pattern.compile("^>[^|]+\\|(.+)\\|(.+)$");
} else if (databaseType.contentEquals("contaminants")) {
} else if (databaseType.contentEquals("contaminants") || databaseType.contentEquals("ITAG")) {
header_pattern = Pattern.compile("^>([^ ]+) (.+)$");
} else if (databaseType.contentEquals("Others")) {
header_pattern = Pattern.compile("^>(.+)$");
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/parameter.def
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ dev = 0 # Output development information.

# Database
db = small+random50.fasta # The protein database.
database_type = UniProt # Different types have different fasta header patterns. Available values: UniProt, SwissProt, TAIR, Others
database_type = UniProt # Different types have different fasta header patterns. Available values: UniProt, SwissProt, TAIR, ITAG, Others
missed_cleavage = 2 # Maximum number of allowed missed cleavage.
min_chain_length = 5 # Minimum length of a peptide chain.
max_chain_length = 50
Expand Down

0 comments on commit 36a1cf1

Please sign in to comment.