Mercurial > repos > peterjc > samtools_depad
annotate tools/samtools_depad/samtools_depad.xml @ 2:02572789ef6c draft
v0.0.4 Internal changes to command line handling
author | peterjc |
---|---|
date | Tue, 16 May 2017 09:29:05 -0400 |
parents | 01f8967ce1e0 |
children | 588c6ce25867 |
rev | line source |
---|---|
2 | 1 <tool id="samtools_depad" name="Depad SAM/BAM file" version="0.0.4"> |
0 | 2 <description>samtools depad</description> |
3 <requirements> | |
4 <requirement type="package" version="0.1.19">samtools</requirement> | |
5 </requirements> | |
2 | 6 <version_command> |
7 python $__tool_directory__/samtools_depad.py --version | |
8 </version_command> | |
9 <command detect_errors="aggressive"> | |
10 python $__tool_directory__/samtools_depad.py '$padded_ref' '$input_bam' '$input_bam.ext' '$output_bam' | |
11 </command> | |
0 | 12 <inputs> |
13 <param name="padded_ref" type="data" format="fasta" label="Padded FASTA file (with gap characters)" /> | |
14 <param name="input_bam" type="data" format="sam,bam" label="Input SAM or BAM file (mapped against the padded FASTA)" /> | |
15 </inputs> | |
16 <outputs> | |
17 <data name="output_bam" format="bam" label="$input_bam.name (depad)" /> | |
18 </outputs> | |
19 <tests> | |
20 <test> | |
21 <param name="padded_ref" value="sam_spec_padded.fasta" ftype="fasta" /> | |
22 <param name="input_bam" value="sam_spec_padded.bam" ftype="bam" /> | |
23 <output name="output_bam" file="sam_spec_padded.depad.bam" ftype="bam" /> | |
24 </test> | |
25 <test> | |
26 <param name="padded_ref" value="sam_spec_padded.fasta" ftype="fasta" /> | |
27 <param name="input_bam" value="sam_spec_padded.sam" ftype="sam" /> | |
28 <output name="output_bam" file="sam_spec_padded.depad.bam" ftype="bam" /> | |
29 </test> | |
30 </tests> | |
31 <help> | |
32 **What it does** | |
33 | |
34 This tool runs the ``samtools depad`` command in the SAMtools toolkit. | |
35 | |
36 Input is a *padded* FASTA file (with gaps represented by either ``*`` or ``-`` | |
37 characters) and a SAM or BAM file mapped against this *padded* FASTA file. | |
38 | |
39 The output is a new BAM file mapped against the *unpadded* FASTA file | |
40 created by removing all gap characters from the sequence. | |
41 | |
42 **Citation** | |
43 | |
44 If you use this Galaxy tool in work leading to a scientific publication please | |
45 cite: | |
46 | |
47 Heng Li et al (2009). The Sequence Alignment/Map format and SAMtools. | |
48 Bioinformatics 25(16), 2078-9. | |
49 http://dx.doi.org/10.1093/bioinformatics/btp352 | |
50 | |
51 Peter J.A. Cock (2014), Galaxy wrapper for the samtools depad command | |
52 http://toolshed.g2.bx.psu.edu/view/peterjc/samtools_depad | |
53 | |
54 This wrapper is available to install into other Galaxy Instances via the Galaxy | |
55 Tool Shed at http://toolshed.g2.bx.psu.edu/view/peterjc/samtools_depad | |
56 </help> | |
1
01f8967ce1e0
v0.0.3; internal changes to help packaging with planemo
peterjc
parents:
0
diff
changeset
|
57 <citations> |
01f8967ce1e0
v0.0.3; internal changes to help packaging with planemo
peterjc
parents:
0
diff
changeset
|
58 <citation type="doi">10.1093/bioinformatics/btp352</citation> |
01f8967ce1e0
v0.0.3; internal changes to help packaging with planemo
peterjc
parents:
0
diff
changeset
|
59 </citations> |
0 | 60 </tool> |