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