-
Notifications
You must be signed in to change notification settings - Fork 441
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* kofamscan: add data table with reference data consisting of multiple files (parameters -p and -k) summing up to 1.3G kfoamscan qualifies for a data table. currently the idea is to have two data tables 1. the first contains the main reference data - path to the profiles dir - path to the ko list file 2. hal files (hal files are contained in the profiles dir and basically just list hmm files, i.e. specify a subset of the hmm files. in the current reference data there are hal files for pro and eukaryotes, but this may change?) also one could use this to list the single HMMs, such that users can run against a single HMM also - use tabuar output by default - change format of the outoput from txt to tabular if needed - fixes the version command * try different syntax for input ref
- Loading branch information
1 parent
edb9fd7
commit db30370
Showing
11 changed files
with
146 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#value<tab>name<tab>kofam_value | ||
subset.hal SUBSET test_value |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#value<tab>name<tab>profile_dir<tab>ko_list | ||
test_value test_name ${__HERE__}/profiles ${__HERE__}/ko |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
K00002.hmm | ||
K00003.hmm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# value<tab>name<tab>profile_dir<tab>ko_list<tab>hals |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#value<tab>name<tab>kofam_value | ||
subset.hal SUBSET test_value |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<?xml version="1.0"?> | ||
<tables> | ||
<!-- versioned data can be downloaded from | ||
ftp://ftp.genome.jp/pub/db/kofam/ or https://www.genome.jp/ftp/db/kofam/ | ||
see also https://www.genome.jp/tools/kofamkoala/. | ||
the downloads contain ko_list.gz and profiles.tar.gz for each version | ||
the ko_list entry should point to the file extracted from ko_list.gz | ||
the profile_dir entry should point to the directory extracted from profiles.tar.gz | ||
--> | ||
<table name="kofam" comment_char="#"> | ||
<columns>value, name, profile_dir, ko_list</columns> | ||
<file path="tool-data/kofam.loc" /> | ||
</table> | ||
<!-- | ||
the profile dir contains many K....hmm files and usually two .hal files | ||
the .hal files are simple text files listing a set of K files (one per line) | ||
which allow to specify subsets of K files easily | ||
this data table allows to specify these subset files for each entry in | ||
the kofam datatabe | ||
- value should be a .hal file in the profiles dir (could also be a K file) | ||
- name the name shown to the user in the select | ||
- kofam_value should be equal to the value of the corresoponding entry in kofam | ||
--> | ||
<table name="kofam_subset" comment_char="#"> | ||
<columns>value, name, kofam_value</columns> | ||
<file path="tool-data/kofam_subset.loc" /> | ||
</table> | ||
</tables> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0"?> | ||
<tables> | ||
<table name="kofam" comment_char="#"> | ||
<columns>value, name, profile_dir, ko_list</columns> | ||
<file path="${__HERE__}/test-data/kofam_test.loc" /> | ||
</table> | ||
<table name="kofam_subset" comment_char="#"> | ||
<columns>value, name, kofam_value</columns> | ||
<file path="${__HERE__}/test-data/kofam_subsets_test.loc" /> | ||
</table> | ||
</tables> |