Mercurial > repos > devteam > samtools_bedcov
diff samtools_bedcov.xml @ 1:4f7acd7af617 draft
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
| author | devteam |
|---|---|
| date | Tue, 13 Oct 2015 12:54:07 -0400 |
| parents | 6ffa7e68dc1f |
| children | e371922c38e8 |
line wrap: on
line diff
--- a/samtools_bedcov.xml Mon Oct 27 12:42:42 2014 -0400 +++ b/samtools_bedcov.xml Tue Oct 13 12:54:07 2015 -0400 @@ -1,9 +1,11 @@ -<tool id="samtools_bedcov" name="Calculate read depth" version="1.0.0"> - <description>on BAM files</description> - <requirements> - <requirement type="package" version="1.1">samtools</requirement> - </requirements> - <version_command>samtools --version | head -n 1 | awk '{ print $2 }'</version_command> +<tool id="samtools_bedcov" name="BedCov" version="2.0"> + <description>calculate read depth for a set of genomic intervals</description> + <macros> + <import>macros.xml</import> + </macros> + <expand macro="requirements"></expand> + <expand macro="stdio"></expand> + <expand macro="version_command"></expand> <command><![CDATA[ for bamfile in #for dataset in $input_bams: @@ -21,10 +23,8 @@ `basename "${dataset}"` #end for > "${output}" - ]]></command> - <stdio> - <exit_code range="1:" level="fatal" description="Error" /> - </stdio> + ]]> + </command> <inputs> <param name="input_bed" type="data" format="bed" label="BED file" /> <param name="input_bams" type="data" format="bam" label="BAM file" multiple="true" /> @@ -47,16 +47,11 @@ <help> **What it does** -This tool runs the ``samtools bedcov`` command in the SAMtools toolkit. - -Show read depth per BED region. - -**Citation** +Calculates read depth for regions listed in a BED dataset using ``samtools bedcov`` command:: -For the underlying tool, please cite `Li H, Handsaker B, Wysoker A, Fennell T, Ruan J, Homer N, Marth G, Abecasis G, Durbin R; 1000 Genome Project Data Processing Subgroup. The Sequence Alignment/Map format and SAMtools. Bioinformatics. 2009 Aug 15;25(16):2078-9. <http://www.ncbi.nlm.nih.gov/pubmed/19505943>`_ - + samtools bedcov [INPUT BED] [INPUT BAM1] ... [INPUT BAMn] > [OUTPUT] -If you use this tool in Galaxy, please cite Blankenberg D, et al. *In preparation.* </help> + <expand macro="citations"></expand> </tool>
