Mercurial > repos > jaredgk > mega_galaxy
comparison mega_galaxy_wrapper.xml @ 0:76d433f51d11 draft default tip
Uploaded
| author | jaredgk |
|---|---|
| date | Wed, 03 Jul 2019 15:12:04 -0400 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:76d433f51d11 |
|---|---|
| 1 <tool id="megalaxy" name="MEGA for Galaxy" version="0.1"> | |
| 2 <stdio> | |
| 3 <exit_code range="1:" level="fatal" /> | |
| 4 </stdio> | |
| 5 <description>Galaxy interface for MEGA-CC</description> | |
| 6 <command> | |
| 7 <![CDATA[ | |
| 8 python $__tool_directory__/mega_galaxy_input.py $data_input && | |
| 9 $__tool_directory__/megacc -a $analysis_input -d mega_data.txt | |
| 10 #if $advf.calibration_input | |
| 11 -c $advf.calibration_input | |
| 12 #end if | |
| 13 #if $advf.groups_input | |
| 14 -g $advf.groups_input | |
| 15 #end if | |
| 16 #if $advf.tree_input | |
| 17 -t $advf.tree_input | |
| 18 #end if | |
| 19 #if $advo.format != "None" | |
| 20 -f $advo.format | |
| 21 #end if | |
| 22 #if $advo.gap_symbol | |
| 23 -gs $advo.gap_symbol | |
| 24 #end if | |
| 25 #if $advo.idbase_symbol | |
| 26 -is $advo.idbase_symbol | |
| 27 #end if | |
| 28 #if $advo.missing_symbol | |
| 29 -ms $advo.missing_symbol | |
| 30 #end if | |
| 31 -o MEGA/mega_galaxy_out | |
| 32 | |
| 33 | |
| 34 ]]> | |
| 35 </command> | |
| 36 | |
| 37 <inputs> | |
| 38 <param name="analysis_input" type="data" label="MEGA Analysis Options (.mao) File"/> | |
| 39 <param name="data_input" type="data" label="Data File"/> | |
| 40 <section name="advf" title="Optional Files" expanded="false"> | |
| 41 <param name="calibration_input" type="data" label="Calibration file" help="Provides calibration | |
| 42 data for tree calling methods" optional="true"/> | |
| 43 <param name="groups_input" type="data" label="Groups file" | |
| 44 help="Organizes taxa into groups. Each line is a key-value pair of the form: taxonName=groupName" optional="true"/> | |
| 45 <param name="tree_input" type="data" label="Tree file" help="Required for some methods" optional="true"/> | |
| 46 </section> | |
| 47 <section name="advo" title="Optional Arguments" expanded="false"> | |
| 48 <param name="concat" type="boolean" truevalue="-ca" falsevalue="" label="Concatenate Alignments"/> | |
| 49 <param name="format" type="select" label="Format (for sequence alignment only)"> | |
| 50 <option value="None" selected="true">None</option> | |
| 51 <option value="MEGA">MEGA</option> | |
| 52 <option value="Fasta">Fasta</option> | |
| 53 </param> | |
| 54 <param name="gap_symbol" type="text" label="Gap Symbol in sequence data file" optional="true"/> | |
| 55 <param name="idbase_symbol" type="text" label="Character that represents identical bases in sequence data file" optional="true"/> | |
| 56 <param name="missing_symbol" type="text" label="Character that represents missing bases in sequence data file" optional="true"/> | |
| 57 <param name="pfc" type="float" min="0.0" max="1.0" label="Partition Frequency Cutoff: when boostrapping, will output partition frequencies that are over given frequency" optional="true"/> | |
| 58 </section> | |
| 59 </inputs> | |
| 60 <outputs> | |
| 61 <data name="outputs" format="txt"> | |
| 62 <discover_datasets pattern="__designation__" directory="MEGA" visible="true" format="txt"/> | |
| 63 </data> | |
| 64 </outputs> | |
| 65 <help> | |
| 66 <![CDATA[ | |
| 67 Use of MEGA requires two files, a MEGA Analysis Options (.mao) file and a file with data for analysis, | |
| 68 which may be one of many, including FASTA files. The MAO file must be generated prior to use of | |
| 69 MEGA. This file can be made with the MEGA prototyper, available from the `MEGA site`_. | |
| 70 | |
| 71 .. _MEGA site: https://megasoftware.net | |
| 72 ]]> | |
| 73 </help> | |
| 74 <tests> | |
| 75 <test> | |
| 76 <param name="analysis_input" value="infer_NJ_nucleotine.mao"/> | |
| 77 <param name="data_input" value="Drosophilia_Adh.meg"/> | |
| 78 <assert_stdout has_text="Analysis Complete"/> | |
| 79 <assert_stdout has_text="MEGA-CC"/> | |
| 80 </test> | |
| 81 </tests> | |
| 82 </tool> |
