view maskFastaBed.xml @ 11:e526617a6bb9 draft

Uploaded
author bernhardlutz
date Wed, 18 Jun 2014 15:07:04 -0400
parents
children c782e0edc4f1
line wrap: on
line source

<tool id="bedtools_maskfastabed" name="MaskFastaBed" version="0.2.0">
    <description></description>
    <macros>
        <import>macros.xml</import>
    </macros>
    <expand macro="requirements" />
    <expand macro="stdio" />
    <command>
        bedtools maskfasta
        $soft
        -mc $mc
        -fi $fasta 
        -bed $inputA
        -fo $output
    </command>
    <inputs>
        <param format="bed,vcf,gff,gff3" name="inputA" type="data" label="BED/VCF/GFF file"/>
        <param format="fasta" name="fasta" type="data" label="Fasta file"/>

        <param name="soft" type="boolean" checked="false" truevalue="-name" falsevalue="" label="Soft-mask (that is, convert to lower-case bases) the FASTA sequence. By default, hard-masking (that is, conversion to Ns) is performed" />
        <param name="mc" type="text"  value="N" length="1" falsevalue="" label="Replace masking character. That is, instead of masking with Ns, use another character." />
    </inputs>
    <outputs>
        <data format="fasta" name="output" />
    </outputs>
    <help>

**What it does**

bedtools 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.

.. image:: $PATH_TO_IMAGES/maskfasta-glyph.png

@REFERENCES@
    </help>
</tool>