Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try adding dbkey to fix checkm2 data manager issue #6678

Merged
merged 1 commit into from
Jan 19, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"checkm2":[
{
"path":"uniref100.KO.1.dmnd",
"dbkey":"@TOOL_VERSION@",
"name":"CheckM2 diamond DB downloaded with version @TOOL_VERSION@",
"version":"@TOOL_VERSION@",
"value":"@TOOL_VERSION@"
Expand Down
1 change: 1 addition & 0 deletions data_managers/data_manager_checkm2/data_manager_conf.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<data_table name="checkm2">
<output>
<column name="value"/>
<column name="dbkey"/>
<column name="name"/>
<column name="version"/>
<column name="path" output_ref="out_file">
Expand Down
2 changes: 1 addition & 1 deletion data_managers/data_manager_checkm2/test-data/checkm2.loc
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@

1.0.2 CheckM2 diamond DB downloaded with version 1.0.2 1.0.2 /tmp/tmpf_hplx2a/galaxy-dev/tool-data/checkm2/1.0.2/uniref100.KO.1.dmnd
1.0.2 1.0.2 CheckM2 diamond DB downloaded with version 1.0.2 1.0.2 /tmp/tmpf_hplx2a/galaxy-dev/tool-data/checkm2/1.0.2/uniref100.KO.1.dmnd
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
#The checkm2_db_versioned.loc file has this format (longer white space
#characters are TAB characters):
#
#<unique_build_id> <display_name> <version> <file_base_path>
#<unique_build_id> <dbkey> <display_name> <version> <file_base_path>

#The <version> column indicates the checkm2 version that generated the database

#
#diamond_db_1.0.2 Diamond database 1.0.2 /mnt/galaxyIndices/Checkm2_database/uniref100.KO.1.dmnd
#diamond_db_1.0.2 1.0.2 Diamond database 1.0.2 /mnt/galaxyIndices/Checkm2_database/uniref100.KO.1.dmnd
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<tables>
<table name="checkm2" comment_char="#" allow_duplicate_entries="False">
<columns>value, name, version, path</columns>
<columns>value, dbkey, name, version, path</columns>
<file path="tool-data/checkm2.loc" />
</table>
</tables>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<tables>
<!-- Location of rnastar indexes for testing -->
<table name="checkm2" comment_char="#" allow_duplicate_entries="False">
<columns>value, name, version, path</columns>
<columns>value, dbkey, name, version, path</columns>
<file path="${__HERE__}/test-data/checkm2.loc" />
</table>
</tables>
4 changes: 2 additions & 2 deletions tools/checkm2/test-data/checkm2.loc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
##Checkm2 versioned indexes
#build_id display_name path version
001 test_db 1.0.2 ${__HERE__}/Checkm2_database/uniref100.KO.1.dmnd
#build_id dbkey display_name path version
001 1.0.2 test_db 1.0.2 ${__HERE__}/Checkm2_database/uniref100.KO.1.dmnd
4 changes: 2 additions & 2 deletions tools/checkm2/tool-data/checkm2.loc.sample
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
#The checkm2_db_versioned.loc file has this format (longer white space
#characters are TAB characters):
#
#<unique_build_id> <display_name> <version> <file_base_path>
#<unique_build_id> <dbkey> <display_name> <version> <file_base_path>

#The <version> column indicates the checkm2 version that generated the database

#
#diamond_db_1.0.2 Diamond database 1.0.2 /mnt/galaxyIndices/Checkm2_database/uniref100.KO.1.dmnd
#diamond_db_1.0.2 1.0.2 Diamond database 1.0.2 /mnt/galaxyIndices/Checkm2_database/uniref100.KO.1.dmnd
2 changes: 1 addition & 1 deletion tools/checkm2/tool_data_table_conf.xml.sample
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<tables>
<table name="checkm2" comment_char="#" allow_duplicate_entries="False">
<columns>value, name, version, path</columns>
<columns>value, dbkey, name, version, path</columns>
<file path="tool-data/checkm2.loc" />
</table>
</tables>
2 changes: 1 addition & 1 deletion tools/checkm2/tool_data_table_conf.xml.test
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<tables>
<table name="checkm2" comment_char="#" allow_duplicate_entries="False">
<columns>value, name, version, path</columns>
<columns>value, dbkey, name, version, path</columns>
<file path="${__HERE__}/test-data/checkm2.loc" />
</table>
</tables>
Loading