Mercurial > repos > iuc > stacks_pstacks
annotate stacks_pstacks.xml @ 0:bbe299e25e29 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
| author | iuc |
|---|---|
| date | Sat, 25 Jun 2016 17:24:41 -0400 |
| parents | |
| children | be52927032dc |
| rev | line source |
|---|---|
|
0
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
1 <tool id="stacks_pstacks" name="Stacks: pstacks" version="@WRAPPER_VERSION@.2"> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
2 <description>find stacks from short reads mapped to a reference genome</description> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
3 <macros> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
4 <import>macros.xml</import> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
5 </macros> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
6 <expand macro="requirements"/> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
7 <expand macro="stdio"/> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
8 <command><![CDATA[ |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
9 #from os.path import splitext |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
10 #import re |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
11 |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
12 mkdir stacks_inputs stacks_outputs |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
13 |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
14 && |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
15 |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
16 #if $sample.ext == "sam": |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
17 #set $data_path = splitext($sample.element_identifier)[0] |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
18 #set $data_path = re.sub(r'\.1$', '', $data_path) |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
19 #set $data_path = "stacks_inputs/" + $data_path + ".sam" |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
20 #set inputype = "sam" |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
21 #else: |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
22 #set $data_path = splitext($sample.element_identifier)[0] |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
23 #set $data_path = re.sub(r'\.1$', '', $data_path) |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
24 #set $data_path = "stacks_inputs/" + $data_path + ".bam" |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
25 #set inputype = "bam" |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
26 #end if |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
27 |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
28 ln -s "${sample}" "${data_path}" |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
29 |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
30 && |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
31 |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
32 pstacks |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
33 |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
34 -p \${GALAXY_SLOTS:-1} |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
35 |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
36 -f $data_path |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
37 |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
38 -t $inputype |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
39 |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
40 ## Batch description |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
41 -i $sample_id |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
42 |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
43 -m $m |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
44 |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
45 ## snp_model |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
46 #if str( $snp_options.select_model.model_type) == "bounded": |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
47 --model_type bounded |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
48 --bound_low $snp_options.select_model.bound_low |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
49 --bound_high $snp_options.select_model.bound_high |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
50 --alpha $snp_options.select_model.alpha |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
51 #else if str( $snp_options.select_model.model_type) == "snp": |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
52 --model_type snp |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
53 --alpha $snp_options.select_model.alpha |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
54 #else |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
55 --model_type fixed |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
56 --bc_err_freq $bc_err_freq |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
57 #end if |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
58 |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
59 -o stacks_outputs |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
60 |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
61 > pstacks.log 2>&1 |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
62 |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
63 ## If input is in bam format, stacks will output gzipped files (no option to control this) |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
64 && if ls stacks_outputs/*.gz > /dev/null 2>&1; then gunzip stacks_outputs/*.gz; fi |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
65 ]]></command> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
66 |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
67 <inputs> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
68 <param name="sample" argument="-f" format="fastqsanger,fasta" type="data" label="Input short reads from an individual" /> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
69 |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
70 <param name="sample_id" argument="-i" type="integer" value="" label="Give a unique numeric ID to this sample"/> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
71 |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
72 <param name="m" argument="-m" type="integer" value="1" label="Minimum depth of coverage required to create a stack"/> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
73 |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
74 |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
75 <!-- SNP Model options --> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
76 <section name="snp_options" title="SNP Model Options (pstacks options)" expanded="False"> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
77 <expand macro="snp_options_full"/> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
78 </section> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
79 </inputs> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
80 |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
81 <outputs> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
82 <data format="txt" name="output_log" label="pstacks.log with ${tool.name} on ${on_string}" from_work_dir="pstacks.log" /> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
83 |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
84 <collection name="tabs" type="list" label="Stacks from ${on_string}"> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
85 <discover_datasets pattern="(?P<name>.+\.tags)\.tsv$" ext="tabular" directory="stacks_outputs" /> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
86 <discover_datasets pattern="(?P<name>.+\.snps)\.tsv$" ext="tabular" directory="stacks_outputs" />> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
87 <discover_datasets pattern="(?P<name>.+\.alleles)\.tsv$" ext="tabular" directory="stacks_outputs" /> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
88 <discover_datasets pattern="(?P<name>.+\.models)\.tsv$" ext="tabular" directory="stacks_outputs" /> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
89 </collection> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
90 </outputs> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
91 |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
92 <tests> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
93 <test> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
94 <param name="sample" value="refmap/PopA_01.bam" ftype="bam" /> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
95 <param name="sample_id" value="4" /> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
96 |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
97 <output name="output_log"> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
98 <assert_contents> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
99 <has_text text="done." /> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
100 </assert_contents> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
101 </output> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
102 |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
103 <output_collection name="tabs"> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
104 <element name="PopA_01.tags"> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
105 <assert_contents> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
106 <has_text text="generated on " /> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
107 </assert_contents> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
108 </element> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
109 <element name="PopA_01.snps"> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
110 <assert_contents> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
111 <has_text text="generated on " /> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
112 </assert_contents> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
113 </element> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
114 <element name="PopA_01.alleles"> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
115 <assert_contents> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
116 <has_text text="generated on " /> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
117 </assert_contents> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
118 </element> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
119 <element name="PopA_01.models"> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
120 <assert_contents> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
121 <has_text text="generated on " /> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
122 </assert_contents> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
123 </element> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
124 </output_collection> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
125 </test> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
126 </tests> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
127 |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
128 <help> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
129 <![CDATA[ |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
130 .. class:: infomark |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
131 |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
132 **What it does** |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
133 |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
134 Similar to ustacks, except this program will extract stacks that have been aligned to a reference genome by a program such as Bowtie and identify SNPs. These stacks can then be processed with cstacks or sstacks. |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
135 |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
136 -------- |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
137 |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
138 **Input files** |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
139 |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
140 - SAM, BAM (e.g. from bowtie or bwa) |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
141 |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
142 **Output files** |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
143 |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
144 - XXX.tags.tsv file: |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
145 |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
146 See `Stacks output description <http://catchenlab.life.illinois.edu/stacks/manual/#files>`_ |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
147 |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
148 Notes: For the tags file, each stack will start in the file with a consensus sequence for the entire stack followed by the flags for that stack. Then, each individual read that was merged into that stack will follow. The next stack will start with another consensus sequence. |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
149 |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
150 |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
151 - XXX.snps.tsv file: |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
152 |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
153 See `Stacks output description <http://catchenlab.life.illinois.edu/stacks/manual/#files>`_ |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
154 |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
155 Notes: If a stack has two SNPs called within it, then there will be two lines in this file listing each one. |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
156 |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
157 |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
158 - XXX.alleles.tsv file: |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
159 |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
160 See `Stacks output description <http://catchenlab.life.illinois.edu/stacks/manual/#files>`_ |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
161 |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
162 @STACKS_INFOS@ |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
163 ]]> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
164 </help> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
165 <expand macro="citation" /> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
166 </tool> |
|
bbe299e25e29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff
changeset
|
167 |
