Mercurial > repos > ufz > checkv_build_database
comparison data_manager/checkv_datamanager.xml @ 0:4bd77968fe29 draft
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_checkv commit 625d1e8699c69e5ee3caef0cc5c883a9d9e6ac91
| author | ufz | 
|---|---|
| date | Mon, 16 Sep 2024 09:53:52 +0000 | 
| parents | |
| children | 3756ac7a625b | 
   comparison
  equal
  deleted
  inserted
  replaced
| -1:000000000000 | 0:4bd77968fe29 | 
|---|---|
| 1 <tool id="checkv_build_database" name="CheckV" tool_type="manage_data" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@"> | |
| 2 <description>database builder</description> | |
| 3 <macros> | |
| 4 <token name="@TOOL_VERSION@">1.0.3</token> | |
| 5 <token name="@VERSION_SUFFIX@">0</token> | |
| 6 <token name="@PROFILE@">22.01</token> | |
| 7 </macros> | |
| 8 <requirements> | |
| 9 <!-- DM only needs diamon (which comes with checkv) --> | |
| 10 <requirement type="package" version="@TOOL_VERSION@">checkv</requirement> | |
| 11 </requirements> | |
| 12 <command detect_errors="exit_code"><![CDATA[ | |
| 13 set -eo pipefail; | |
| 14 wget https://portal.nersc.gov/CheckV/checkv-db-v${version}.tar.gz && | |
| 15 tar -zxvf checkv-db-v${version}.tar.gz && | |
| 16 cd checkv-db-v${version}/genome_db/ && | |
| 17 diamond makedb --in checkv_reps.faa --db checkv_reps && | |
| 18 cd - && | |
| 19 mv checkv-db-v${version} checkv-db && | |
| 20 cp '$dmjson' '$out_file' | |
| 21 ]]></command> | |
| 22 <configfiles> | |
| 23 <configfile name="dmjson"><![CDATA[ | |
| 24 { | |
| 25 "data_tables":{ | |
| 26 "checkv":[ | |
| 27 { | |
| 28 "path":"", | |
| 29 "name":"Version $version", | |
| 30 "version":"$version", | |
| 31 "value":"$version" | |
| 32 } | |
| 33 ] | |
| 34 } | |
| 35 }]]> | |
| 36 </configfile> | |
| 37 </configfiles> | |
| 38 <inputs> | |
| 39 <param name="version" type="select" multiple="false" label="Database Version"> | |
| 40 <option value="1.5">1.5</option> | |
| 41 </param> | |
| 42 </inputs> | |
| 43 <outputs> | |
| 44 <data name="out_file" format="data_manager_json" /> | |
| 45 </outputs> | |
| 46 <tests> | |
| 47 <!-- <test expect_num_outputs="1"> | |
| 48 <param name="version" value="1.5" /> | |
| 49 <output name="out_file"> | |
| 50 <assert_contents> | |
| 51 <has_text text='"value":"1.5"'/> | |
| 52 <has_text text='"name":"Version 1.5"'/> | |
| 53 </assert_contents> | |
| 54 </output> | |
| 55 </test> --> | |
| 56 </tests> | |
| 57 <help><![CDATA[ | |
| 58 Download and extract CheckV reference data from https://portal.nersc.gov/CheckV/ | |
| 59 ]]></help> | |
| 60 <citations> | |
| 61 <citation type="doi">10.1038/s41587-020-00774-7</citation> | |
| 62 </citations> | |
| 63 </tool> | 
