annotate stacks_pstacks.xml @ 9:ed2fba238a2f draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit 74ee33c6e30744a6da8deb7116d431d80ee80edb
author iuc
date Fri, 07 Apr 2023 21:54:20 +0000
parents 7519668b19d7
children
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>
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>
9
ed2fba238a2f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit 74ee33c6e30744a6da8deb7116d431d80ee80edb
iuc
parents: 8
diff changeset
6 <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
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 <param name="sample_id" argument="-i" type="integer" value="" label="Give a unique numeric ID to this sample"/>
9
ed2fba238a2f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit 74ee33c6e30744a6da8deb7116d431d80ee80edb
iuc
parents: 8
diff changeset
75 <param argument="-m" type="integer" value="1" label="Minimum depth of coverage required to create a stack"/>
ed2fba238a2f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit 74ee33c6e30744a6da8deb7116d431d80ee80edb
iuc
parents: 8
diff changeset
76 <param 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"/>
ed2fba238a2f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit 74ee33c6e30744a6da8deb7116d431d80ee80edb
iuc
parents: 8
diff changeset
77 <param argument="--min_mapq" type="integer" value="10" label="Minimum required mapping quality"/>
ed2fba238a2f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit 74ee33c6e30744a6da8deb7116d431d80ee80edb
iuc
parents: 8
diff changeset
78 <param 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
79 <!-- SNP Model options -->
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
80 <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
81 <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
82 </section>
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
83 </inputs>
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 <outputs>
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
86 <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
87 <data format="html" name="output_summary" label="Summary from ${tool.name} on ${on_string}" from_work_dir="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
88 <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
89 <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
90 <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
91 <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
92 <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
93 </collection>
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
94 </outputs>
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
95
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
96 <tests>
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
97 <test>
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
98 <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
99 <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
100
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
101 <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
102 <assert_contents>
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
103 <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
104 </assert_contents>
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
105 </output>
5
02dc65436afa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit dc23703c260d004a28fe24a2a7c00cb4371bc32e
iuc
parents: 2
diff changeset
106 <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
107 <assert_contents>
02dc65436afa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit dc23703c260d004a28fe24a2a7c00cb4371bc32e
iuc
parents: 2
diff changeset
108 <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
109 </assert_contents>
02dc65436afa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit dc23703c260d004a28fe24a2a7c00cb4371bc32e
iuc
parents: 2
diff changeset
110 </output>
0
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
111
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
112 <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
113 <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
114 <assert_contents>
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
115 <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
116 </assert_contents>
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
117 </element>
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
118 <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
119 <assert_contents>
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
120 <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
121 </assert_contents>
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
122 </element>
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
123 <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
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 <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
126 </assert_contents>
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
127 </element>
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
128 <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
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 <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
131 </assert_contents>
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
132 </element>
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
133 </output_collection>
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
134 </test>
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
135 </tests>
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 <help>
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
138 <![CDATA[
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
139 .. class:: infomark
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
140
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
141 **What it does**
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
142
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
143 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
144
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
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
147 **Input files**
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 - 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
150
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
151 **Output files**
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 - 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
154
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
155 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
156
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
157 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
158
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 - 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
161
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
162 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
163
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
164 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
165
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 - 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
168
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
169 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
170
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
171 @STACKS_INFOS@
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
172 ]]>
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
173 </help>
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
174 <expand macro="citation" />
bbe299e25e29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
175 </tool>