Mercurial > repos > devteam > samtools_bedcov
annotate samtools_bedcov.xml @ 2:12749212f61b draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
author | iuc |
---|---|
date | Tue, 09 May 2017 11:17:25 -0400 |
parents | 8c3472790020 |
children | 9149ad20699a |
rev | line source |
---|---|
2
12749212f61b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
1
diff
changeset
|
1 <tool id="samtools_bedcov" name="BedCov" version="2.0.1"> |
12749212f61b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
1
diff
changeset
|
2 <description>calculate read depth for a set of genomic intervals</description> |
12749212f61b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
1
diff
changeset
|
3 <macros> |
12749212f61b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
1
diff
changeset
|
4 <import>macros.xml</import> |
12749212f61b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
1
diff
changeset
|
5 </macros> |
12749212f61b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
1
diff
changeset
|
6 <expand macro="requirements"/> |
12749212f61b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
1
diff
changeset
|
7 <expand macro="stdio"/> |
12749212f61b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
1
diff
changeset
|
8 <expand macro="version_command"/> |
0 | 9 <command><![CDATA[ |
2
12749212f61b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
1
diff
changeset
|
10 ## Ensure simlinks have unique filenames |
12749212f61b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
1
diff
changeset
|
11 #for $i, $bam in enumerate( $input_bams ): |
12749212f61b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
1
diff
changeset
|
12 ln -s -f '${bam}' '${i}.bam' && |
12749212f61b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
1
diff
changeset
|
13 ln -s -f '${bam.metadata.bam_index}' '${i}.bam.bai' && |
0 | 14 #end for |
2
12749212f61b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
1
diff
changeset
|
15 |
12749212f61b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
1
diff
changeset
|
16 samtools bedcov |
12749212f61b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
1
diff
changeset
|
17 '${input_bed}' |
12749212f61b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
1
diff
changeset
|
18 #for $i in range(len( $input_bams )): |
12749212f61b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
1
diff
changeset
|
19 '${i}.bam' |
12749212f61b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
1
diff
changeset
|
20 #end for |
12749212f61b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
1
diff
changeset
|
21 > '${output}' |
12749212f61b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
1
diff
changeset
|
22 ]]></command> |
0 | 23 <inputs> |
2
12749212f61b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
1
diff
changeset
|
24 <param name="input_bed" type="data" format="bed" label="Genemic intervals (in BED format)" /> |
12749212f61b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
1
diff
changeset
|
25 <param name="input_bams" type="data" format="bam" multiple="true" label="BAM file(s)" /> |
0 | 26 </inputs> |
27 <outputs> | |
2
12749212f61b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
1
diff
changeset
|
28 <data name="output" format="tabular" label="${tool.name} on ${on_string}" /> |
0 | 29 </outputs> |
30 <tests> | |
31 <test> | |
32 <param name="input_bed" value="eboVir3.1.bed" ftype="bed" /> | |
33 <param name="input_bams" value="eboVir3.bam" ftype="bam" /> | |
34 <output name="output" file="samtools_bedcov_out1.tab" /> | |
35 </test> | |
36 <test> | |
37 <param name="input_bed" value="eboVir3.1.bed" ftype="bed" /> | |
38 <param name="input_bams" value="eboVir3.bam,eboVir3.2.bam" ftype="bam" /> | |
39 <output name="output" file="samtools_bedcov_out2.tab" /> | |
40 </test> | |
41 </tests> | |
42 <help> | |
43 **What it does** | |
44 | |
1 | 45 Calculates read depth for regions listed in a BED dataset using ``samtools bedcov`` command:: |
0 | 46 |
1 | 47 samtools bedcov [INPUT BED] [INPUT BAM1] ... [INPUT BAMn] > [OUTPUT] |
0 | 48 </help> |
2
12749212f61b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
1
diff
changeset
|
49 <expand macro="citations"/> |
0 | 50 </tool> |