annotate plink.xml @ 6:da372a164001 draft

Deleted selected files
author dereeper
date Wed, 07 Feb 2018 00:15:42 -0500
parents 6d1122b57344
children d6a7be1b5adb
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
1 <tool id="sniplay_plink" name="plink" version="1.0">
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
2
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
3 <!-- [REQUIRED] Tool description displayed after the tool name -->
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
4 <description> - Filter large VCF file</description>
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
5
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
6 <!-- [OPTIONAL] 3rd party tools, binaries, modules... required for the tool to work -->
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
7 <requirements>
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
8 <requirement type="binary">perl</requirement>
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
9 <requirement type="package" version="1.90b4">plink</requirement>
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
10 </requirements>
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
11
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
12
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
13 <!-- [STRONGLY RECOMMANDED] Exit code rules -->
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
14 <stdio>
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
15 <!-- [HELP] If no exit code rule is defined, the tool will stop if anything is written to STDERR -->
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
16 <exit_code range="1:" level="fatal" />
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
17 </stdio>
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
18
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
19 <!-- [REQUIRED] The command to execute -->
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
20 <command interpreter="bash">
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
21 ./plink.sh $vcf $fileout $filelog $frequency $max_freq $allow_missing $type_p $bound_start $bound_end
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
22 #if str( $samples ) == "":
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
23 'None'
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
24 #else
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
25 $samples
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
26 #end if
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
27 #if str( $chromosomes ) == "":
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
28 'None'
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
29 #else
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
30 $chromosomes
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
31 #end if
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
32 </command>
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
33 <code file="find_indiv.py"/>
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
34 <!-- [REQUIRED] Input files and tool parameters -->
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
35 <inputs>
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
36 <param name="vcf" type="data" format="vcf" optional="false" label="VCF input" />
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
37
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
38 <param name="samples" type="select" label="Samples" multiple="true" dynamic_options="get_field_samples_options(vcf)" help="Samples to be analyzed." />
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
39 <!--<param name="samples" type="text" label="Samples" multiple="true" help="Samples to be analyzed." />-->
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
40 <!--<param name="chromosomes" type="select" label="Chromosomes" multiple="true" dynamic_options="get_field_chrs_options(input)" help="Chromosomes to be analyzed." />-->
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
41 <param name="frequency" type="float" value="0" label="Minimum MAF" help="Minimum Minor Allele Frequency (MAF)" />
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
42 <param name="max_freq" type="float" value="0.5" label="Maximum MAF" help="Maximum Minor Allele Frequency (MAF)" />
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
43 <param name="allow_missing" type="float" value="1" min="0" max="1" label="Missing data proportion" help="Allowed missing data proportion per site. Must be comprised between 0 and 1." />
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
44 <param name="type_p" type="select" label="Polymorphisms" help="Type of polymorphisms to keep." >
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
45 <option value="ALL" selected="true">All</option>
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
46 <option value="SNP">SNPs only</option>
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
47 </param>
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
48 <param name="chromosomes" type="text" label="Chromosomes" multiple="true" help="Chromosomes to be analyzed. (Comma-separated list of reference sequences, ex: Chr1,Chr2)" />
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
49 <param name="bound_start" type="integer" value="1" label="Lower bound" help="Lower bound for a range of sites to be processed." />
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
50 <param name="bound_end" type="integer" value="100000000" label="Upper bound" help="Upper bound for a range of sites to be processed." />
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
51 </inputs>
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
52
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
53 <!-- [REQUIRED] Output files -->
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
54 <outputs>
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
55 <data name="fileout" format="vcf" label="Plink filtered VCF"/>
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
56 <data name="filelog" format="txt" label="Plink logfile" />
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
57 </outputs>
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
58
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
59
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
60 <!-- [OPTIONAL] Help displayed in Galaxy -->
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
61 <help>
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
62
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
63 .. class:: infomark
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
64
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
65 **Authors** Shaun Purcell : plink_
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
66
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
67 .. _plink: https://www.cog-genomics.org/plink2
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
68
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
69 | **Please cite** "PLINK: a toolset for whole-genome association and population-based linkage analysis.", Purcell S, Neale B, Todd-Brown K, Thomas L, Ferreira MAR, Bender D, Maller J, Sklar P, de Bakker PIW, Daly MJ, Sham PC, **American Journal of Human Genetics**, 2007
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
70
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
71 .. class:: infomark
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
72
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
73 **Galaxy integration** Dereeper Alexis (IRD), Andres Gwendoline (Institut Français de Bioinformatique).
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
74
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
75 .. class:: infomark
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
76
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
77 **Support** For any questions about Galaxy integration, please send an e-mail to support.abims@sb-roscoff.fr
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
78
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
79
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
80
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
81 </help>
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
82
6d1122b57344 Uploaded
dereeper
parents:
diff changeset
83 </tool>