Mercurial > repos > devteam > samtools_bedcov
annotate samtools_bedcov.xml @ 2:21964f813454 draft
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/samtools/samtools_bedcov commit de7140295cce07e1bc1697e51dab4271c8d7a8a6
author | devteam |
---|---|
date | Fri, 18 Dec 2015 19:43:23 -0500 |
parents | 4f7acd7af617 |
children | e371922c38e8 |
rev | line source |
---|---|
1
4f7acd7af617
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
0
diff
changeset
|
1 <tool id="samtools_bedcov" name="BedCov" version="2.0"> |
4f7acd7af617
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
0
diff
changeset
|
2 <description>calculate read depth for a set of genomic intervals</description> |
4f7acd7af617
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
0
diff
changeset
|
3 <macros> |
4f7acd7af617
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
0
diff
changeset
|
4 <import>macros.xml</import> |
4f7acd7af617
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
0
diff
changeset
|
5 </macros> |
4f7acd7af617
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
0
diff
changeset
|
6 <expand macro="requirements"></expand> |
4f7acd7af617
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
0
diff
changeset
|
7 <expand macro="stdio"></expand> |
4f7acd7af617
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
0
diff
changeset
|
8 <expand macro="version_command"></expand> |
0 | 9 <command><![CDATA[ |
10 for bamfile in | |
11 #for dataset in $input_bams: | |
12 "${dataset}" | |
13 #end for | |
14 ; do | |
15 if [ ! -f \$bamfile.bai ] ; then | |
16 ln -s \$bamfile && samtools index `basename \$bamfile` ; | |
17 else | |
18 ln -s \$bamfile && ln -s \$bamfile.bai ; | |
19 fi ; | |
20 done ; | |
21 samtools bedcov "${input_bed}" | |
22 #for dataset in $input_bams: | |
23 `basename "${dataset}"` | |
24 #end for | |
25 > "${output}" | |
1
4f7acd7af617
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
0
diff
changeset
|
26 ]]> |
4f7acd7af617
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
0
diff
changeset
|
27 </command> |
0 | 28 <inputs> |
29 <param name="input_bed" type="data" format="bed" label="BED file" /> | |
30 <param name="input_bams" type="data" format="bam" label="BAM file" multiple="true" /> | |
31 </inputs> | |
32 <outputs> | |
33 <data format="tabular" name="output" label="${tool.name} on ${on_string}" /> | |
34 </outputs> | |
35 <tests> | |
36 <test> | |
37 <param name="input_bed" value="eboVir3.1.bed" ftype="bed" /> | |
38 <param name="input_bams" value="eboVir3.bam" ftype="bam" /> | |
39 <output name="output" file="samtools_bedcov_out1.tab" /> | |
40 </test> | |
41 <test> | |
42 <param name="input_bed" value="eboVir3.1.bed" ftype="bed" /> | |
43 <param name="input_bams" value="eboVir3.bam,eboVir3.2.bam" ftype="bam" /> | |
44 <output name="output" file="samtools_bedcov_out2.tab" /> | |
45 </test> | |
46 </tests> | |
47 <help> | |
48 **What it does** | |
49 | |
1
4f7acd7af617
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
0
diff
changeset
|
50 Calculates read depth for regions listed in a BED dataset using ``samtools bedcov`` command:: |
0 | 51 |
1
4f7acd7af617
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
0
diff
changeset
|
52 samtools bedcov [INPUT BED] [INPUT BAM1] ... [INPUT BAMn] > [OUTPUT] |
0 | 53 |
54 </help> | |
1
4f7acd7af617
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
0
diff
changeset
|
55 <expand macro="citations"></expand> |
0 | 56 </tool> |
57 |