view maskFastaBed.xml @ 5:b78d20957e7f draft

Uploaded
author bernhardlutz
date Thu, 05 Jun 2014 15:25:18 -0400
parents
children 75d323631dce
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 or BAM 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

    </help>
</tool>