annotate complexity_bam.xml @ 8:9def47f3c1e4 draft

planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
author nml
date Tue, 06 Aug 2019 08:50:28 -0400
parents
children 18aad692772a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
1 <tool id="complexity_bam" name="Complexity BAM" version="0.7.0">
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
2 <requirements>
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
3 <requirement type="package" version="0.7.0">quasitools</requirement>
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
4 </requirements>
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
5 <command detect_errors="exit_code"><![CDATA[
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
6
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
7 ln -f -s '${input_bam.metadata.bam_index}' '${input_bam}.bai' &&
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
8
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
9 quasitools complexity bam '$ref_file' '$input_bam' $k -f '$filter_size' -o output.csv
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
10
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
11 ]]></command>
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
12 <inputs>
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
13 <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
14 <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
15 <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
16 <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
17 </inputs>
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
18 <outputs>
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
19 <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
20 </outputs>
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
21 <tests>
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
22 <test>
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
23 <param name="ref_file" value="generated.fasta" />
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
24 <param name="input_bam" value="generated.bam" />
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
25 <param name="k" value="200" />
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
26 <param name="filter_size" value="0" />
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
27 <output name="output" >
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
28 <assert_contents>
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
29 <has_text text="Position" />
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
30 <has_text text="0" />
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
31 </assert_contents>
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
32 </output>
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
33 </test>
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
34 </tests>
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
35
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
36 <help><![CDATA[
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
37 Quasispecies Complexity
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
38 =======================
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
39
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
40 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
41
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
42 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
43 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
44
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
45
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
46 ]]></help>
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
47 <citations>
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
48 <citation type="bibtex">
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
49 @misc{GitHubquasitoolscomplexity,
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
50 title = {quasitools complexity},
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
51 publisher = {phac-nml},
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
52 journal = {GitHub repository},
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
53 url = {https://github.com/phac-nml/quasitools},
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
54 }
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
55 </citation>
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
56 </citations>
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents:
diff changeset
57 </tool>