69
|
1 <tool id="flapjack_split_by_sample" name="Flapjack Split By Sample" version="0.0.1">
|
68
|
2 <description>create a Flapjack project file from Flapjack formatted input files.</description>
|
72
|
3 <requirements>
|
73
|
4 <requirement type="package" version="0.14">pandas</requirement>
|
72
|
5 </requirements>
|
69
|
6 <command>
|
68
|
7 python $__tool_directory__/FlapjackProject.py
|
|
8 -j $__tool_directory__/lib/flapjack.jar
|
69
|
9 -g '$genotypes'
|
|
10 -s '$traits'
|
68
|
11 #if $map
|
69
|
12 -m '$map'
|
68
|
13 #end if
|
|
14 #if $qtls
|
69
|
15 -q '$qtls'
|
68
|
16 #end if
|
|
17 #if $adv_opts.show_advanced
|
|
18 -M "$adv_opts.missingData"
|
|
19 -S "$adv_opts.hetSep"
|
|
20 #end if
|
|
21 </command>
|
|
22 <inputs>
|
|
23 <param format="fjgenotype" name="genotypes" type="data" label="Flapjack genotype file"
|
|
24 help="Flapjack-formatted (tab-delimited text) input file of genotype data"/>
|
|
25
|
70
|
26 <param format="tabular" name="traits" type="data" label="Flapjack phenotype file"
|
68
|
27 help="Flapjack-formatted (tab-delimited text) input file of phenotype data"/>
|
|
28
|
|
29 <param format="fjmap" name="map" type="data" label="Flapjack map file"
|
|
30 help="Flapjack-formatted (tab-delimited text) input file of map data"
|
|
31 optional="true"/>
|
|
32
|
|
33 <param format="fjqtl" name="qtls" type="data" label="Flapjack QTL file"
|
|
34 help="Flapjack-formatted (tab-delimited text) input file of QTL data"
|
|
35 optional="true"/>
|
|
36
|
|
37 <!-- WARNING: Below is the advanced options section shared by all of our tools. If you alter it here you must update the other tools as well.-->
|
|
38 <conditional name="adv_opts">
|
|
39 <param name="show_advanced" type="boolean"
|
|
40 label="Enable advanced options"
|
|
41 truevalue="show" falsevalue="">
|
|
42 </param>
|
|
43 <when value="show">
|
|
44 <param name="missingData" type="text" value="-"
|
|
45 label="Missing data string"
|
|
46 help="Alleles with missing data are encoded using this string. Clear the box to use an empty string for missing data instead."/>
|
|
47
|
|
48 <param name="hetSep" type="text" value="/"
|
|
49 label="Heterozygous allele separator string"
|
|
50 help="Specifies the string used to separator heterozygous alleles (eg 'A/T'). Clear the box to specify no string is used (eg 'AT')"/>
|
|
51 </when>
|
|
52 </conditional>
|
|
53 <!-- WARNING: Above is the advanced options section shared by all of our tools. If you alter it here you must update the other tools as well.-->
|
|
54 </inputs>
|
|
55
|
|
56 <outputs>
|
|
57 <data name="output" format="flapjack" />
|
|
58 </outputs>
|
|
59
|
|
60 <stdio>
|
|
61 <exit_code range="1:" />
|
|
62 </stdio>
|
|
63
|
|
64 <help><![CDATA[
|
|
65 .. class:: infomark
|
|
66
|
|
67 **What it does**
|
|
68
|
|
69 Flapjack is a multi-platform application providing interactive visualizations of high-throughput genotype data,
|
|
70 allowing for rapid navigation and comparisons between lines, markers and chromosomes.
|
|
71
|
|
72 This tool creates a Flapjack project file from the supplied tab-delimitted flapjack input files.
|
|
73 See Flapjack's documentation_ for more details on the various Flapjack data formats.
|
|
74 More information on the CreateProject tool can be found here_
|
|
75
|
|
76 .. _documentation: http://flapjack.hutton.ac.uk/en/latest/projects_&_data_formats.html
|
|
77 .. _here: http://flapjack.hutton.ac.uk/en/latest/command_line_support.html#createproject-exe-jhi-flapjack-io-createproject
|
|
78 ]]></help>
|
|
79
|
|
80 <citations>
|
|
81 <citation type="doi">10.1093/bioinformatics/btq580</citation>
|
|
82 </citations>
|
|
83 </tool> |