0
|
1 <tool id="queue_genotype_workflow" name="Queue genotype workflow" version="1.0.0">
|
|
2 <description></description>
|
|
3 <command detect_errors="exit_code"><![CDATA[
|
|
4 #set history_id = $__app__.security.encode_id($affy_metadata.history.id)
|
|
5 python $__tool_directory__/queue_genotype_workflow.py
|
|
6 --affy_metadata '$affy_metadata'
|
|
7 --annot '$annot'
|
|
8 --api_key $get_user_api_key
|
|
9 --calls '$calls'
|
|
10 --confidences '$confidences'
|
|
11 --config_file $__tool_directory__/qgw_config.ini
|
|
12 --history_id $history_id
|
|
13 --reference_genome '$locally_cached_item.fields.path'
|
|
14 --dbkey '$locally_cached_item.fields.value'
|
|
15 --report '$report'
|
|
16 --sample_attributes '$sample_attributes'
|
|
17 --snp-posteriors '$snp_posteriors'
|
|
18 --summary '$summary'
|
6
|
19 #if str($output_nj_phylogeny_tree) == "yes":
|
|
20 --output_nj_phylogeny_tree '$output_nj_phylogeny_tree'
|
|
21 #end if
|
0
|
22 --output '$output']]></command>
|
|
23 <configfiles>
|
|
24 <configfile name="get_user_api_key"><![CDATA[#from galaxy.managers import api_keys#${api_keys.ApiKeyManager( $__app__ ).get_or_create_api_key($__user__)} ]]></configfile>
|
|
25 </configfiles>
|
|
26 <inputs>
|
|
27 <param name="affy_metadata" type="data" format="tabular" label="Affymetrix 96 well plate metadata file" help="The word 'metadata' must be in the file name.">
|
2
|
28 <validator type="expression" message="96 well plate data must have 32 columns"><![CDATA[value is not None and value.metadata.columns==32]]></validator>
|
0
|
29 </param>
|
|
30 <param name="sample_attributes" type="data" format="tabular" label="Sample attributes file" help="The word 'attributes' must be in the file name."/>
|
|
31 <param name="annot" type="data" format="csv" label="Probeset annotation file" help="The word 'annotation' must be in the file name."/>
|
|
32 <param name="summary" type="data" format="txt" label="Apt-probeset genotype summary file" help="The word 'summary' must be in the file name."/>
|
|
33 <param name="snp_posteriors" type="data" format="txt" label="Apt-probeset genotype snp-posteriors file" help="The word 'snp-posteriors' must be in the file name."/>
|
|
34 <param name="report" type="data" format="txt" label="Apt-probeset genotype report file" help="The word 'report' must be in the file name."/>
|
|
35 <param name="confidences" type="data" format="txt" label="Apt-probeset genotype confidences file" help="The word 'confidences' must be in the file name."/>
|
|
36 <param name="calls" type="data" format="txt" label="Apt-probeset genotype calls file" help="The word 'calls' must be in the file name."/>
|
|
37 <param name="locally_cached_item" type="select" format="fasta" label="Fasta reference sequence">
|
|
38 <options from_data_table="all_fasta">
|
|
39 <column name="name" index="2"/>
|
|
40 <column name="value" index="0"/>
|
|
41 <column name="path" index="3"/>
|
|
42 <filter type="sort_by" column="1"/>
|
|
43 <validator type="no_options" message="No cached Fasta genome references are available for the build associated with the selected probeset annotation file." />
|
|
44 </options>
|
|
45 </param>
|
6
|
46 <param name="output_nj_phylogeny_tree" type="select" display="radio" label="Plot neighbor-joining phylogeny tree in Corals Multilocus Genotype outputs?" help="This may significantly extend the tool execution time">
|
|
47 <option value="yes">Yes</option>
|
|
48 <option value="no" selected="true">No</option>
|
|
49 </param>
|
0
|
50 </inputs>
|
|
51 <outputs>
|
|
52 <data name="output" label="${tool.name} execution log" format="txt" />
|
|
53 </outputs>
|
|
54 <tests>
|
|
55 <test>
|
|
56 <!--Testing this tool is a bit difficult at the current time.-->
|
|
57 </test>
|
|
58 </tests>
|
|
59 <help>
|
|
60 **What it does**
|
|
61
|
5
|
62 Uses the Galaxy/Bioblend API to execute the complete multilocus genotype analysis pipeline for corals or symbionts.
|
9
|
63 Read this tutorial_ if you are not familiar with this tool. This tool must be able to access the corals (stag) database.
|
|
64
|
|
65 .. _tutorial: https://github.com/gregvonkuster/galaxy_tools/blob/master/docs/corals/coralsnp_tutorial.md
|
0
|
66
|
3
|
67 **Required options**
|
|
68
|
|
69 * **Affymetrix 96 well plate metadata file** - a tabular file created by the user to describe their samples - it can be exported from Excel using this example as a template: http://baumslab.org/documents/SNPChip/STAG_Metadata_Template_v3.xlsm
|
|
70 * **Sample attributes file** - the Sample Attributes tabular file created by the Affymetrix sequencer for the plate
|
|
71 * **Probeset annotation file** - the annotation CSV file created by the Affymetrix sequencer for the plate
|
|
72 * **Apt-probeset genotype summary file** - the summary CSV file created by the Affymetrix sequencer for the plate
|
|
73 * **Apt-probeset genotype snp-posteriors file** - the snp-posteriors CSV file created by the Affymetrix sequencer for the plate
|
|
74 * **Apt-probeset genotype report file** - the report CSV file created by the Affymetrix sequencer for the plate
|
|
75 * **Apt-probeset genotype confidences file** - the confidences CSV file created by the Affymetrix sequencer for the plate
|
|
76 * **Apt-probeset genotype calls file** - the calls CSV file created by the Affymetrix sequencer for the plate
|
|
77 * **Fasta reference sequence** - selected fasta reference dataset for the samples
|
|
78
|
0
|
79 </help>
|
|
80 <citations>
|
11
|
81 <citation type="doi">https://doi.org/10.1038/s41598-020-69101-z</citation>
|
0
|
82 </citations>
|
|
83 </tool>
|
|
84
|