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

Add new DBs for MAPseq #6379

Merged
merged 7 commits into from
Sep 30, 2024
Merged
Show file tree
Hide file tree
Changes from 3 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 @@ -10,18 +10,28 @@
import wget

DB_paths = {
"mgnify_lsu": "ftp://ftp.ebi.ac.uk/pub/databases/metagenomics/pipeline-5.0/ref-dbs/silva_lsu-20200130.tar.gz",
"mgnify_ssu": "ftp://ftp.ebi.ac.uk/pub/databases/metagenomics/pipeline-5.0/ref-dbs/silva_ssu-20200130.tar.gz",
"mgnify_its_unite": "ftp://ftp.ebi.ac.uk/pub/databases/metagenomics/pipeline-5.0/ref-dbs/UNITE-20200214.tar.gz",
"mgnify_its_itsonedb": "ftp://ftp.ebi.ac.uk/pub/databases/metagenomics/pipeline-5.0/ref-dbs/ITSoneDB-20200214.tar.gz",
"mgnify_v5_lsu": "ftp://ftp.ebi.ac.uk/pub/databases/metagenomics/pipeline-5.0/ref-dbs/silva_lsu-20200130.tar.gz",
"mgnify_v5_ssu": "ftp://ftp.ebi.ac.uk/pub/databases/metagenomics/pipeline-5.0/ref-dbs/silva_ssu-20200130.tar.gz",
"mgnify_v5_its_unite": "ftp://ftp.ebi.ac.uk/pub/databases/metagenomics/pipeline-5.0/ref-dbs/UNITE-20200214.tar.gz",
"mgnify_v5_its_itsonedb": "ftp://ftp.ebi.ac.uk/pub/databases/metagenomics/pipeline-5.0/ref-dbs/ITSoneDB-20200214.tar.gz",
"mgnify_v6_lsu": "ftp://ftp.ebi.ac.uk/pub/databases/metagenomics/pipelines/tool-dbs/silva-lsu/silva-lsu_138.1.tar.gz",
"mgnify_v6_ssu": "ftp://ftp.ebi.ac.uk/pub/databases/metagenomics/pipelines/tool-dbs/silva-ssu/silva-ssu_138.1.tar.gz",
"mgnify_v6_its_unite": "ftp://ftp.ebi.ac.uk/pub/databases/metagenomics/pipelines/tool-dbs/unite/unite_9.0.tar.gz",
"mgnify_v6_its_itsonedb": "ftp://ftp.ebi.ac.uk/pub/databases/metagenomics/pipelines/tool-dbs/itsonedb/itsonedb_1.141.tar.gz",
"mgnify_v6_pr2": "ftp://ftp.ebi.ac.uk/pub/databases/metagenomics/pipelines/tool-dbs/pr2/pr2_5.0.0.tar.gz",
"test_lsu": "https://zenodo.org/record/8205348/files/test_lsu.tar.gz",
}

DB_names = {
"mgnify_lsu": "MGnify LSU (v5.0.7) - silva_lsu-20200130",
"mgnify_ssu": "MGnify SSU (v5.0.7) - silva_ssu-20200130",
"mgnify_its_unite": "MGnify ITS UNITE (v5.0.7) - UNITE-20200214",
"mgnify_its_itsonedb": "MGnify ITS ITSonedb (v5.0.7) - ITSoneDB-20200214",
"mgnify_v5_lsu": "MGnify LSU (v5.0.7) - silva_lsu-20200130",
"mgnify_v5_ssu": "MGnify SSU (v5.0.7) - silva_ssu-20200130",
"mgnify_v5_its_unite": "MGnify ITS UNITE (v5.0.7) - UNITE-20200214",
"mgnify_v5_its_itsonedb": "MGnify ITS ITSonedb (v5.0.7) - ITSoneDB-20200214",
"mgnify_v6_lsu": "MGnify LSU (v6.0) - silva_lsu-20240702",
"mgnify_v6_ssu": "MGnify SSU (v6.0) - silva_ssu-20240701",
"mgnify_v6_its_unite": "MGnify ITS UNITE (v6.0) - UNITE-20240702",
"mgnify_v6_its_itsonedb": "MGnify ITS ITSonedb (v6.0) - ITSoneDB-20240702",
"mgnify_v6_pr2": "MGnify PR2 (v6.0) - PR2-20240702",
"test_lsu": "Trimmed LSU Test DB",
}

Expand Down
2 changes: 1 addition & 1 deletion data_managers/data_manager_mapseq/data_manager/macros.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<macros>
<token name="@TOOL_VERSION@">1.1</token>
<token name="@VERSION_SUFFIX@">0</token>
<token name="@VERSION_SUFFIX@">1</token>
<token name="@PROFILE@">22.05</token>
<xml name="requirements">
<requirements>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<?xml version="1.0"?>
<tool id="mapseq_db_fetcher" name="Mapseq DB fetcher" tool_type="manage_data" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
<description>Fetches the DB required for mapseq</description>
<macros>
Expand All @@ -16,18 +15,23 @@
]]>
</command>
<inputs>
<!-- <param name="test_data_manager" type="hidden" /> -->
<param name="test_data_manager" type="boolean" truevalue="--test" falsevalue="" checked="False" label="Download minimal test DB and create mock data table entry." />

<param name="database_type" type="select" multiple="false" label="Database Type">
<option value="mgnify_lsu">MGnify LSU (v5.0.7)</option>
<option value="mgnify_ssu">MGnify SSU (v5.0.7)</option>
<option value="mgnify_its_itsonedb">MGnify ITS ITSonedb (v5.0.7)</option>
<option value="mgnify_its_unite">MGnify ITS UNITE (v5.0.7)</option>
</param>

<!-- <param name="test_data_manager" type="text" value=""/> -->
<param argument="--version" type="text" value="5.0.7" help="Check MGnify GitHub (https://github.com/EBI-Metagenomics/pipeline-v5/releases) for the version."/>
<!-- <param name="test_data_manager" type="hidden" /> -->
RZ9082 marked this conversation as resolved.
Show resolved Hide resolved
<param name="test_data_manager" type="boolean" truevalue="--test" falsevalue="" checked="False" label="Download minimal test DB and create mock data table entry." />

<param name="database_type" type="select" multiple="false" label="Database Type">
<option value="mgnify_v6_lsu">MGnify LSU (v6.0)</option>
<option value="mgnify_v6_ssu">MGnify SSU (v6.0)</option>
<option value="mgnify_v6_its_itsonedb">MGnify ITS ITSonedb (v6.0)</option>
<option value="mgnify_v6_its_unite">MGnify ITS UNITE (v6.0)</option>
<option value="mgnify_v6_pr2">MGnify PR2 (v6.0)</option>
<option value="mgnify_v5_lsu">MGnify LSU (v5.0.7)</option>
<option value="mgnify_v5_ssu">MGnify SSU (v5.0.7)</option>
<option value="mgnify_v5_its_itsonedb">MGnify ITS ITSonedb (v5.0.7)</option>
<option value="mgnify_v5_its_unite">MGnify ITS UNITE (v5.0.7)</option>
</param>

<!-- <param name="test_data_manager" type="text" value=""/> -->
<param argument="--version" type="text" value="6.0" help="Check MGnify GitHub (https://github.com/EBI-Metagenomics/amplicon-pipeline) for the version."/>
</inputs>
<outputs>
<data format="data_manager_json" name="out_file" />
Expand All @@ -51,4 +55,4 @@
</help>
<expand macro="citations" />
<expand macro="creator" />
</tool>
</tool>
Loading