upstream-extended/iuc/tools/bedtools/maskFastaBed.xml
1<tool id="bedtools_maskfastabed" name="bedtools MaskFastaBed" version="@TOOL_VERSION@" profile="@PROFILE@">
2 <description>use intervals to mask sequences from a FASTA file</description>
3 <macros>
4 <import>macros.xml</import>
5 </macros>
6 <expand macro="bio_tools" />
7 <expand macro="requirements" />
8 <expand macro="stdio" />
9 <command><![CDATA[
10bedtools maskfasta
11$soft
12-mc '${mc}'
13-fi '${fasta}'
14-bed '${input}'
15-fo '${output}'
16$fullheader
17 ]]></command>
18 <inputs>
19 <param name="input" argument="-bed" type="data" format="@STD_BEDTOOLS_INPUTS@" label="@STD_BEDTOOLS_INPUT_LABEL@ file"/>
20 <param name="fasta" argument="-fi" type="data" format="fasta" label="FASTA file"/>
21 <param argument="-soft" type="boolean" truevalue="-soft" falsevalue="" checked="false"
22 label="Soft-mask (that is, convert to lower-case bases) the FASTA sequence"
23 help="By default, hard-masking (that is, conversion to Ns) is performed" />
24 <param argument="-mc" type="text" value="N"
25 label="Replace masking character"
26 help="That is, instead of masking with Ns, use another character" />
27 <param argument="-fullHeader" name="fullheader" type="boolean" truevalue="-fullHeader" falsevalue=""
28 label="Use full fasta header."
29 help="By default, only the word before the first space or tab is used"/>
30 </inputs>
31 <outputs>
32 <data name="output" format="fasta" />
33 </outputs>
34 <tests>
35 <test>
36 <param name="input" value="nucBed1.bed" ftype="bed" />
37 <param name="fasta" value="nucBed1.fasta" ftype="fasta" />
38 <param name="soft" value="False" />
39 <output name="output" file="maskFastaBed_result1.fasta" ftype="fasta" />
40 </test>
41 <test>
42 <param name="input" value="nucBed1.bed" ftype="bed" />
43 <param name="fasta" value="nucBed1.fasta" ftype="fasta" />
44 <param name="soft" value="True" />
45 <output name="output" file="maskFastaBed_result2.fasta" ftype="fasta" />
46 </test>
47 <test>
48 <param name="input" value="nucBed1.bed" ftype="bed" />
49 <param name="fasta" value="nucBed1.fasta" ftype="fasta" />
50 <param name="soft" value="True" />
51 <param name="fullheader" value="True" />
52 <output name="output" file="maskFastaBed_result3.fasta" ftype="fasta" />
53 </test>
54 </tests>
55 <help><![CDATA[
56**What it does**
57
58bedtools maskfasta masks sequences in a FASTA file based on intervals defined in a feature file. The headers in the input FASTA file must exactly match the chromosome column in the feature file. This may be useful fro creating your own masked genome file based on custom annotations or for masking all but your target regions when aligning sequence data from a targeted capture experiment.
59
60.. image:: $PATH_TO_IMAGES/maskfasta-glyph.png
61
62@REFERENCES@
63 ]]></help>
64 <expand macro="citations" />
65</tool>