annotate multilocus_genotype.xml @ 7:18001e7cb199 draft

Uploaded
author greg
date Wed, 28 Nov 2018 13:49:18 -0500
parents a71901fd5325
children 8f2f346a5e1c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
725b160c91f0 Uploaded
greg
parents:
diff changeset
1 <tool id="multilocus_genotype" name="Multilocus genotype" version="1.0.0">
725b160c91f0 Uploaded
greg
parents:
diff changeset
2 <description>unique combination of alleles for loci</description>
725b160c91f0 Uploaded
greg
parents:
diff changeset
3 <requirements>
725b160c91f0 Uploaded
greg
parents:
diff changeset
4 <requirement type="package" version="2.1.1">r-adegenet</requirement>
725b160c91f0 Uploaded
greg
parents:
diff changeset
5 <requirement type="package" version="5.1">r-ape</requirement>
7
18001e7cb199 Uploaded
greg
parents: 6
diff changeset
6 <requirement type="package" version="1.11.6">r-data.table</requirement>
18001e7cb199 Uploaded
greg
parents: 6
diff changeset
7 <requirement type="package" version="0.7.6">r-dplyr</requirement>
0
725b160c91f0 Uploaded
greg
parents:
diff changeset
8 <requirement type="package" version="3.0.0">r-ggplot2</requirement>
725b160c91f0 Uploaded
greg
parents:
diff changeset
9 <requirement type="package" version="1.20">r-knitr</requirement>
4
a7cce4091e80 Uploaded
greg
parents: 1
diff changeset
10 <requirement type="package" version="1.6.0">r-optparse</requirement>
a7cce4091e80 Uploaded
greg
parents: 1
diff changeset
11 <requirement type="package" version="2.8.1">r-poppr</requirement>
a7cce4091e80 Uploaded
greg
parents: 1
diff changeset
12 <requirement type="package" version="1.1.2">r-rcolorbrewer</requirement>
7
18001e7cb199 Uploaded
greg
parents: 6
diff changeset
13 <requirement type="package" version="1.1.1">r-rpostgres</requirement>
4
a7cce4091e80 Uploaded
greg
parents: 1
diff changeset
14 <requirement type="package" version="2.5_3">r-vegan</requirement>
a7cce4091e80 Uploaded
greg
parents: 1
diff changeset
15 <requirement type="package" version="1.8.0">r-vcfr</requirement>
0
725b160c91f0 Uploaded
greg
parents:
diff changeset
16 </requirements>
725b160c91f0 Uploaded
greg
parents:
diff changeset
17 <command detect_errors="exit_code"><![CDATA[
725b160c91f0 Uploaded
greg
parents:
diff changeset
18 #set output_plots_dir = 'output_plots_dir'
725b160c91f0 Uploaded
greg
parents:
diff changeset
19 mkdir $output_plots_dir &&
725b160c91f0 Uploaded
greg
parents:
diff changeset
20 Rscript '$__tool_directory__/multilocus_genotype.R'
7
18001e7cb199 Uploaded
greg
parents: 6
diff changeset
21 --database_connection_string '$__app__.config.corals_database_connection'
18001e7cb199 Uploaded
greg
parents: 6
diff changeset
22 --input_affy_metadata '$input_affy_metadata'
4
a7cce4091e80 Uploaded
greg
parents: 1
diff changeset
23 --input_pop_info '$input_pop_info'
7
18001e7cb199 Uploaded
greg
parents: 6
diff changeset
24 --input_vcf '$input_vcf'
18001e7cb199 Uploaded
greg
parents: 6
diff changeset
25 --output_stag_db_report '$output_stag_db_report'
4
a7cce4091e80 Uploaded
greg
parents: 1
diff changeset
26 --output_mlg_id '$output_mlg_id']]></command>
0
725b160c91f0 Uploaded
greg
parents:
diff changeset
27 <inputs>
725b160c91f0 Uploaded
greg
parents:
diff changeset
28 <param name="input_vcf" type="data" format="vcf" label="VCF file" />
7
18001e7cb199 Uploaded
greg
parents: 6
diff changeset
29 <param name="input_affy_metadata" type="data" format="csv" label="Affymetrix 96 well plate file" />
0
725b160c91f0 Uploaded
greg
parents:
diff changeset
30 <param name="input_pop_info" type="data" format="txt" label="Population information file" />
725b160c91f0 Uploaded
greg
parents:
diff changeset
31 </inputs>
725b160c91f0 Uploaded
greg
parents:
diff changeset
32 <outputs>
7
18001e7cb199 Uploaded
greg
parents: 6
diff changeset
33 <data name="output_stag_db_report" format="csv" label="${tool.name} (stag db report) on ${on_string}"/>
6
a71901fd5325 Uploaded
greg
parents: 5
diff changeset
34 <data name="output_mlg_id" format="txt" label="${tool.name} (MLGs) on ${on_string}"/>
0
725b160c91f0 Uploaded
greg
parents:
diff changeset
35 <collection name="output_plot_collection" type="list" label="${tool.name} (plots), on ${on_string}">
725b160c91f0 Uploaded
greg
parents:
diff changeset
36 <discover_datasets pattern="__name__" directory="output_plots_dir" format="pdf"/>
725b160c91f0 Uploaded
greg
parents:
diff changeset
37 </collection>
725b160c91f0 Uploaded
greg
parents:
diff changeset
38 </outputs>
725b160c91f0 Uploaded
greg
parents:
diff changeset
39 <tests>
725b160c91f0 Uploaded
greg
parents:
diff changeset
40 <test>
725b160c91f0 Uploaded
greg
parents:
diff changeset
41 <param name="input_vcf" value="baitssnv.recode.vcf" ftype="vcf"/>
725b160c91f0 Uploaded
greg
parents:
diff changeset
42 <param name="input_pop_info" value="pop_info.txt" ftype="txt"/>
725b160c91f0 Uploaded
greg
parents:
diff changeset
43 <output_collection name="output_plot_collection" type="list">
725b160c91f0 Uploaded
greg
parents:
diff changeset
44 <element name="phylogeny_tree.pdf" file="phylogeny_tree.pdf" ftype="pdf" compare="contains"/>
725b160c91f0 Uploaded
greg
parents:
diff changeset
45 <element name="dissimiliarity_distance_matrix.pdf" file="dissimiliarity_distance_matrix.pdf" ftype="pdf" compare="contains"/>
725b160c91f0 Uploaded
greg
parents:
diff changeset
46 <element name="filter_stats.pdf" file="filter_stats.pdf" ftype="pdf" compare="contains"/>
725b160c91f0 Uploaded
greg
parents:
diff changeset
47 <element name="genotype_accumulation_curve.pdf" file="genotype_accumulation_curve.pdf" ftype="pdf" compare="contains"/>
725b160c91f0 Uploaded
greg
parents:
diff changeset
48 <element name="genotype_accumulation_curve_for_gind.pdf" file="genotype_accumulation_curve_for_gind.pdf" ftype="pdf" compare="contains"/>
725b160c91f0 Uploaded
greg
parents:
diff changeset
49 </output_collection>
725b160c91f0 Uploaded
greg
parents:
diff changeset
50 </test>
725b160c91f0 Uploaded
greg
parents:
diff changeset
51 </tests>
725b160c91f0 Uploaded
greg
parents:
diff changeset
52 <help>
725b160c91f0 Uploaded
greg
parents:
diff changeset
53 **What it does**
725b160c91f0 Uploaded
greg
parents:
diff changeset
54
725b160c91f0 Uploaded
greg
parents:
diff changeset
55 Renders the unique combination of the alleles for two or more loci for each individual. The multilocus genotypes
725b160c91f0 Uploaded
greg
parents:
diff changeset
56 are critically important for tracking dispersal and population structure of organisms, especially those that
725b160c91f0 Uploaded
greg
parents:
diff changeset
57 reproduce clonally (plants, sponges, cnidarians, flatworms, annelids, sea stars, and many more).
725b160c91f0 Uploaded
greg
parents:
diff changeset
58 -----
725b160c91f0 Uploaded
greg
parents:
diff changeset
59
725b160c91f0 Uploaded
greg
parents:
diff changeset
60 **Required options**
725b160c91f0 Uploaded
greg
parents:
diff changeset
61 </help>
725b160c91f0 Uploaded
greg
parents:
diff changeset
62 <citations>
725b160c91f0 Uploaded
greg
parents:
diff changeset
63 </citations>
725b160c91f0 Uploaded
greg
parents:
diff changeset
64 </tool>
7
18001e7cb199 Uploaded
greg
parents: 6
diff changeset
65