annotate complexity_bam.xml @ 9:18aad692772a draft default tip

planemo upload for repository https://github.com/phac-nml/quasitools commit 5a9e4c9a582828654893166caf20576f5e0c418e
author nml
date Mon, 20 Jun 2022 20:06:36 +0000
parents 9def47f3c1e4
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9
18aad692772a planemo upload for repository https://github.com/phac-nml/quasitools commit 5a9e4c9a582828654893166caf20576f5e0c418e
nml
parents: 8
diff changeset
1 <tool id="complexity_bam" name="Complexity BAM" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@">
18aad692772a planemo upload for repository https://github.com/phac-nml/quasitools commit 5a9e4c9a582828654893166caf20576f5e0c418e
nml
parents: 8
diff changeset
2 <macros>
18aad692772a planemo upload for repository https://github.com/phac-nml/quasitools commit 5a9e4c9a582828654893166caf20576f5e0c418e
nml
parents: 8
diff changeset
3 <import>macros.xml</import>
18aad692772a planemo upload for repository https://github.com/phac-nml/quasitools commit 5a9e4c9a582828654893166caf20576f5e0c418e
nml
parents: 8
diff changeset
4 </macros>
18aad692772a planemo upload for repository https://github.com/phac-nml/quasitools commit 5a9e4c9a582828654893166caf20576f5e0c418e
nml
parents: 8
diff changeset
5 <expand macro="requirements"/>
8
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
6 <command detect_errors="exit_code"><![CDATA[
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
7
9
18aad692772a planemo upload for repository https://github.com/phac-nml/quasitools commit 5a9e4c9a582828654893166caf20576f5e0c418e
nml
parents: 8
diff changeset
8 ln -s $input_bam '${input_bam.name}' &&
18aad692772a planemo upload for repository https://github.com/phac-nml/quasitools commit 5a9e4c9a582828654893166caf20576f5e0c418e
nml
parents: 8
diff changeset
9 ln -s $input_bam.metadata.bam_index '${input_bam.name}.bai' &&
8
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
10
9
18aad692772a planemo upload for repository https://github.com/phac-nml/quasitools commit 5a9e4c9a582828654893166caf20576f5e0c418e
nml
parents: 8
diff changeset
11 quasitools complexity bam '$ref_file' '${input_bam.name}' $k -f '$filter_size' -o output.csv
8
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
12
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
13 ]]></command>
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
14 <inputs>
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
15 <param name="ref_file" type="data" format="fasta" optional="false" label="Reference file" />
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
16 <param name="input_bam" type="data" format="bam" optional="false" label="BAM file" />
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
17 <param name="k" type="integer" label="k-mer size" value="0" min="0" />
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
18 <param name="filter_size" type="integer" label="Filter size" value="0" min="0" />
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
19 </inputs>
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
20 <outputs>
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
21 <data format="csv" name="output" from_work_dir="output.csv" />
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
22 </outputs>
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
23 <tests>
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
24 <test>
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
25 <param name="ref_file" value="generated.fasta" />
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
26 <param name="input_bam" value="generated.bam" />
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
27 <param name="k" value="200" />
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
28 <param name="filter_size" value="0" />
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
29 <output name="output" >
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
30 <assert_contents>
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
31 <has_text text="Position" />
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
32 <has_text text="0" />
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
33 </assert_contents>
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
34 </output>
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
35 </test>
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
36 </tests>
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
37
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
38 <help><![CDATA[
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
39 Quasispecies Complexity
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
40 =======================
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
41
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
42 Calculates various quasispecies complexity measures on next generation sequenced data from a BAM file and it's corresponding reference file.
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
43
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
44 The measures of complexity are taken from the following work:
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
45 Gregori, Josep, et al. "Viral quasispecies complexity measures." Virology 493 (2016): 227-237.
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
46
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
47
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
48 ]]></help>
9
18aad692772a planemo upload for repository https://github.com/phac-nml/quasitools commit 5a9e4c9a582828654893166caf20576f5e0c418e
nml
parents: 8
diff changeset
49 <expand macro="citations" />
8
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
50 </tool>