# HG changeset patch # User bebatut # Date 1488385999 18000 # Node ID 4e2b75051020921ff3602d180d52279be449bc79 # Parent e25df87eaeccac2a57b0e52420727794d104a4e5 planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit b'38ee3fbdc89e93fa2266e9a4e755a086bf564cc6\n'-dirty diff -r e25df87eaecc -r 4e2b75051020 humann2.xml --- a/humann2.xml Mon Feb 20 11:38:51 2017 -0500 +++ b/humann2.xml Wed Mar 01 11:33:19 2017 -0500 @@ -5,11 +5,12 @@ humann2_macros.xml - - bowtie2 + + bowtie2 metaphlan2 diamond rapsearch + python @@ -43,16 +44,16 @@ #end if #if $taxo_profile.taxonomic_profile_test == "false" - #if $taxo_profile.metaphlan2_db_choice.metaphlan2_db_selector == "history" - mkdir ref_db - && - bowtie2-build '$taxo_profile.metaphlan2_db_choice.metaphlan2_db_sequences ref_db/ref_db' - && - python '$__tool_directory__/transform_json_to_pkl.py' - --json_input '$metaphlan2_db_metadata' - --pkl_output 'ref_db/metadata.pkl' - && - #end if + #if $taxo_profile.metaphlan2_db_choice.metaphlan2_db_selector == "history" + mkdir ref_db + && + bowtie2-build '$taxo_profile.metaphlan2_db_choice.metaphlan2_db_sequences ref_db/ref_db' + && + python '$__tool_directory__/transform_json_to_pkl.py' + --json_input '$metaphlan2_db_metadata' + --pkl_output 'ref_db/metadata.pkl' + && + #end if #end if humann2 @@ -73,6 +74,10 @@ #if $taxo_profile.metaphlan2_db_choice.metaphlan2_db_selector == "history" #set $metaphlan_option += " --bowtie2db " + ref_db/ref_db #set $metaphlan_option += " --mpa_pkl " + ref_db/metadata.pkl + #else + #set $path = $db.cached_db.fields.path + --bowtie2db `ls $path/*.pkl | sed 's/\(.*\)\..*/\1/'` + --mpa_pkl `ls $path/*.pkl` #end if #end if --metaphlan-options="$metaphlan_option" @@ -183,7 +188,11 @@ - + + + + + diff -r e25df87eaecc -r 4e2b75051020 repository_dependencies.xml --- a/repository_dependencies.xml Mon Feb 20 11:38:51 2017 -0500 +++ b/repository_dependencies.xml Wed Mar 01 11:33:19 2017 -0500 @@ -1,4 +1,5 @@ - + + diff -r e25df87eaecc -r 4e2b75051020 tool-data/metaphlan2_database.loc.sample --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tool-data/metaphlan2_database.loc.sample Wed Mar 01 11:33:19 2017 -0500 @@ -0,0 +1,4 @@ +#This is a sample file distributed with Galaxy that enables tools +#to use a directory of metagenomics files. +#file has this format (white space characters are TAB characters) +#02_16_2014 MetaPhlAn2 clade-specific marker genes db_v20 /path/to/data \ No newline at end of file diff -r e25df87eaecc -r 4e2b75051020 tool_data_table_conf.xml.sample --- a/tool_data_table_conf.xml.sample Mon Feb 20 11:38:51 2017 -0500 +++ b/tool_data_table_conf.xml.sample Wed Mar 01 11:33:19 2017 -0500 @@ -1,4 +1,8 @@ + + value, name, path + +
value, name, dbkey, path