annotate stacks_pstacks.xml @ 8:7519668b19d7 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit 5f2ec13ecca435abaac2b99ba21f1d6497ec7139"
author iuc
date Tue, 22 Mar 2022 23:10:49 +0000
parents 02dc65436afa
children ed2fba238a2f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
be52927032dc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit 643293a896a2ccfac10fe995f48c7f01c1a89a7f
iuc
parents: 0
diff changeset
1 <tool id="stacks_pstacks" name="Stacks: pstacks" version="@WRAPPER_VERSION@.0">
0
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>
8
7519668b19d7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit 5f2ec13ecca435abaac2b99ba21f1d6497ec7139"
iuc
parents: 5
diff changeset
3 <expand macro="bio_tools"/>
0
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
4 <macros>
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
5 <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
6 </macros>
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
7 <expand macro="requirements"/>
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
8 <expand macro="stdio"/>
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
9 <command><![CDATA[
5
02dc65436afa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit dc23703c260d004a28fe24a2a7c00cb4371bc32e
iuc
parents: 2
diff changeset
10
02dc65436afa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit dc23703c260d004a28fe24a2a7c00cb4371bc32e
iuc
parents: 2
diff changeset
11 @CLEAN_EXT@
0
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
12
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
13 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
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
5
02dc65436afa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit dc23703c260d004a28fe24a2a7c00cb4371bc32e
iuc
parents: 2
diff changeset
17 #if $sample.is_of_type('sam')
02dc65436afa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit dc23703c260d004a28fe24a2a7c00cb4371bc32e
iuc
parents: 2
diff changeset
18 #set $data_path = "stacks_inputs/" + $clean_ext($sample.element_identifier) + ".sam"
0
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
19 #set inputype = "sam"
5
02dc65436afa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit dc23703c260d004a28fe24a2a7c00cb4371bc32e
iuc
parents: 2
diff changeset
20 #else
02dc65436afa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit dc23703c260d004a28fe24a2a7c00cb4371bc32e
iuc
parents: 2
diff changeset
21 #set $data_path = "stacks_inputs/" + $clean_ext($sample.element_identifier) + ".bam"
0
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
22 #set inputype = "bam"
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
23 #end if
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
24
5
02dc65436afa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit dc23703c260d004a28fe24a2a7c00cb4371bc32e
iuc
parents: 2
diff changeset
25 ln -s '${sample}' '${data_path}'
0
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
26
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
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
29 pstacks
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 -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
32
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
33 -f $data_path
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
34
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
35 -t $inputype
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
36
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
37 ## Batch description
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
38 -i $sample_id
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 -m $m
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
41
5
02dc65436afa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit dc23703c260d004a28fe24a2a7c00cb4371bc32e
iuc
parents: 2
diff changeset
42 --max_clipped $max_clipped
02dc65436afa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit dc23703c260d004a28fe24a2a7c00cb4371bc32e
iuc
parents: 2
diff changeset
43 --min_mapq $min_mapq
02dc65436afa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit dc23703c260d004a28fe24a2a7c00cb4371bc32e
iuc
parents: 2
diff changeset
44 $keep_sec_alns
02dc65436afa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit dc23703c260d004a28fe24a2a7c00cb4371bc32e
iuc
parents: 2
diff changeset
45
0
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
46 ## snp_model
5
02dc65436afa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit dc23703c260d004a28fe24a2a7c00cb4371bc32e
iuc
parents: 2
diff changeset
47 #if str( $snp_options.select_model.model_type) == "bounded"
0
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
48 --model_type bounded
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
49 --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
50 --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
51 --alpha $snp_options.select_model.alpha
5
02dc65436afa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit dc23703c260d004a28fe24a2a7c00cb4371bc32e
iuc
parents: 2
diff changeset
52 #else if str( $snp_options.select_model.model_type) == "snp"
0
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
53 --model_type snp
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
54 --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
55 #else
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
56 --model_type fixed
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
57 --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
58 #end if
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
59
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
60 -o stacks_outputs
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
61
5
02dc65436afa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit dc23703c260d004a28fe24a2a7c00cb4371bc32e
iuc
parents: 2
diff changeset
62 2>&1 | tee pstacks.log
0
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
63
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
64 ## 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
65 && if ls stacks_outputs/*.gz > /dev/null 2>&1; then gunzip stacks_outputs/*.gz; fi
5
02dc65436afa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit dc23703c260d004a28fe24a2a7c00cb4371bc32e
iuc
parents: 2
diff changeset
66
02dc65436afa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit dc23703c260d004a28fe24a2a7c00cb4371bc32e
iuc
parents: 2
diff changeset
67 &&
02dc65436afa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit dc23703c260d004a28fe24a2a7c00cb4371bc32e
iuc
parents: 2
diff changeset
68
02dc65436afa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit dc23703c260d004a28fe24a2a7c00cb4371bc32e
iuc
parents: 2
diff changeset
69 stacks_summary.py --stacks-prog pstacks --res-dir stacks_outputs --logfile pstacks.log --summary stacks_outputs/summary.html
0
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
70 ]]></command>
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 <inputs>
5
02dc65436afa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit dc23703c260d004a28fe24a2a7c00cb4371bc32e
iuc
parents: 2
diff changeset
73 <param name="sample" argument="-f" format="sam,bam" type="data" label="Input short reads from an individual" />
0
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 <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
76
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
77 <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
78
5
02dc65436afa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit dc23703c260d004a28fe24a2a7c00cb4371bc32e
iuc
parents: 2
diff changeset
79 <param name="max_clipped" argument="--max_clipped" type="float" value="0.15" min="0.0" max="1.0" label="Alignments with more than this fraction of soft-clipped bases are discarded"/>
02dc65436afa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit dc23703c260d004a28fe24a2a7c00cb4371bc32e
iuc
parents: 2
diff changeset
80
02dc65436afa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit dc23703c260d004a28fe24a2a7c00cb4371bc32e
iuc
parents: 2
diff changeset
81 <param name="min_mapq" argument="--min_mapq" type="integer" value="10" label="Minimum required mapping quality"/>
02dc65436afa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit dc23703c260d004a28fe24a2a7c00cb4371bc32e
iuc
parents: 2
diff changeset
82
02dc65436afa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit dc23703c260d004a28fe24a2a7c00cb4371bc32e
iuc
parents: 2
diff changeset
83 <param name="keep_sec_alns" argument="--keep_sec_alns" type="boolean" checked="false" truevalue="--keep_sec_alns" falsevalue="" label="Keep secondary alignments" />
0
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
84
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
85 <!-- SNP Model options -->
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
86 <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
87 <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
88 </section>
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
89 </inputs>
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
90
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
91 <outputs>
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
92 <data format="txt" name="output_log" label="pstacks.log with ${tool.name} on ${on_string}" from_work_dir="pstacks.log" />
5
02dc65436afa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit dc23703c260d004a28fe24a2a7c00cb4371bc32e
iuc
parents: 2
diff changeset
93
02dc65436afa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit dc23703c260d004a28fe24a2a7c00cb4371bc32e
iuc
parents: 2
diff changeset
94 <data format="html" name="output_summary" label="Summary from ${tool.name} on ${on_string}" from_work_dir="stacks_outputs/summary.html" />
02dc65436afa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit dc23703c260d004a28fe24a2a7c00cb4371bc32e
iuc
parents: 2
diff changeset
95
0
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
96 <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
97 <discover_datasets pattern="(?P&lt;name&gt;.+\.tags)\.tsv$" ext="tabular" directory="stacks_outputs" />
1
be52927032dc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit 643293a896a2ccfac10fe995f48c7f01c1a89a7f
iuc
parents: 0
diff changeset
98 <discover_datasets pattern="(?P&lt;name&gt;.+\.snps)\.tsv$" ext="tabular" directory="stacks_outputs" />
0
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
99 <discover_datasets pattern="(?P&lt;name&gt;.+\.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
100 <discover_datasets pattern="(?P&lt;name&gt;.+\.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
101 </collection>
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
102 </outputs>
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
103
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
104 <tests>
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
105 <test>
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
106 <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
107 <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
108
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
109 <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
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="done." />
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 </output>
5
02dc65436afa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit dc23703c260d004a28fe24a2a7c00cb4371bc32e
iuc
parents: 2
diff changeset
114 <output name="output_summary">
02dc65436afa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit dc23703c260d004a28fe24a2a7c00cb4371bc32e
iuc
parents: 2
diff changeset
115 <assert_contents>
02dc65436afa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit dc23703c260d004a28fe24a2a7c00cb4371bc32e
iuc
parents: 2
diff changeset
116 <has_text text="Stacks Statistics" />
02dc65436afa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit dc23703c260d004a28fe24a2a7c00cb4371bc32e
iuc
parents: 2
diff changeset
117 </assert_contents>
02dc65436afa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit dc23703c260d004a28fe24a2a7c00cb4371bc32e
iuc
parents: 2
diff changeset
118 </output>
0
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
119
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
120 <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
121 <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
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 <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
124 </assert_contents>
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
125 </element>
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
126 <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
127 <assert_contents>
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
128 <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
129 </assert_contents>
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
130 </element>
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
131 <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
132 <assert_contents>
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
133 <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
134 </assert_contents>
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
135 </element>
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
136 <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
137 <assert_contents>
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
138 <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
139 </assert_contents>
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
140 </element>
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
141 </output_collection>
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
142 </test>
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
143 </tests>
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
144
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
145 <help>
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
146 <![CDATA[
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
147 .. class:: infomark
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
148
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
149 **What it does**
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 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
152
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
153 --------
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 **Input files**
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 - 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
158
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
159 **Output files**
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
160
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
161 - 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
162
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
163 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
164
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
165 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
166
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
167
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
168 - 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
169
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
170 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
171
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
172 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
173
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
174
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
175 - 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
176
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
177 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
178
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
179 @STACKS_INFOS@
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
180 ]]>
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
181 </help>
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
182 <expand macro="citation" />
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
183 </tool>