annotate aacoverage.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 dcd43b402eb3
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: 7
diff changeset
1 <tool id="aacoverage" name="Amino Acid Coverage" version="0.7.0">
0
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
2 <description>Builds an aa census and returns its coverage</description>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
3 <requirements>
8
9def47f3c1e4 planemo upload for repository https://github.com/phac-nml/quasitools commit 940b463cac33438233bc7a8a1695ca6d34b31a35
nml
parents: 7
diff changeset
4 <requirement type="package" version="0.7.0">quasitools</requirement>
0
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
5 </requirements>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
6 <command detect_errors="exit_code"><![CDATA[
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
7
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
8 ln -f -s ${input_bam.metadata.bam_index} ${input_bam}.bai &&
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
9
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
10 quasitools aacoverage $input_bam $ref_file $input_genes -o output.csv
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
11
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
12 ]]></command>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
13 <inputs>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
14 <param name="input_bam" type="data" format="bam" optional="false" label="Bam file" />
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
15 <param name="ref_file" type="data" format="fasta" optional="false" label="Reference file" />
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
16 <param name="input_genes" type="data" format="bed" optional="false" label="Gene file" />
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
17 </inputs>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
18 <outputs>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
19 <data format="csv" name="output" from_work_dir="output.csv" />
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
20 </outputs>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
21 <tests>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
22 <test>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
23 <param name="input_bam" value="align.bam" />
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
24 <param name="ref_file" value="hxb2_pol.fas" />
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
25 <param name="input_genes" ftype="bed" value="hxb2_pol.bed" />
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
26 <output name="output" >
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
27 <assert_contents>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
28 <has_text text="frame: 0" />
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
29 <has_text text="1,0" />
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
30 <has_text text="948,1" />
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
31 </assert_contents>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
32 </output>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
33 </test>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
34 </tests>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
35 <help><![CDATA[
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
36
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
37 Amino Acid Coverage
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
38 ===================
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
39
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
40 Builds an amino acid census and returns its coverage.
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
41
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
42 **Output**
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
43
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
44 A file with one entry per line with the AA position and the coverage at the position.
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
45
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
46 ]]></help>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
47 <citations>
7
dcd43b402eb3 planemo upload for repository https://github.com/phac-nml/quasitools commit ce3f1b19e7e110ff47365c672bc6fa17cce0a314
nml
parents: 5
diff changeset
48 <citation type="bibtex">
dcd43b402eb3 planemo upload for repository https://github.com/phac-nml/quasitools commit ce3f1b19e7e110ff47365c672bc6fa17cce0a314
nml
parents: 5
diff changeset
49 @misc{GitHubquasitoolsaacoverage,
dcd43b402eb3 planemo upload for repository https://github.com/phac-nml/quasitools commit ce3f1b19e7e110ff47365c672bc6fa17cce0a314
nml
parents: 5
diff changeset
50 title = {quasitools aacoverage},
dcd43b402eb3 planemo upload for repository https://github.com/phac-nml/quasitools commit ce3f1b19e7e110ff47365c672bc6fa17cce0a314
nml
parents: 5
diff changeset
51 publisher = {phac-nml},
dcd43b402eb3 planemo upload for repository https://github.com/phac-nml/quasitools commit ce3f1b19e7e110ff47365c672bc6fa17cce0a314
nml
parents: 5
diff changeset
52 journal = {GitHub repository},
dcd43b402eb3 planemo upload for repository https://github.com/phac-nml/quasitools commit ce3f1b19e7e110ff47365c672bc6fa17cce0a314
nml
parents: 5
diff changeset
53 url = {https://github.com/phac-nml/quasitools},
dcd43b402eb3 planemo upload for repository https://github.com/phac-nml/quasitools commit ce3f1b19e7e110ff47365c672bc6fa17cce0a314
nml
parents: 5
diff changeset
54 }
dcd43b402eb3 planemo upload for repository https://github.com/phac-nml/quasitools commit ce3f1b19e7e110ff47365c672bc6fa17cce0a314
nml
parents: 5
diff changeset
55 </citation>
0
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
56 </citations>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
57 </tool>