78 citations
0 runs


By Quinlan A., Last update 1494698999
All tools Run this tool

maskFastaFromBed description

maskFastaFromBed masks sequences in a FASTA file based on intervals defined in a BED file. The headers in the input FASTA file must exactly match the chromosome column in the BED 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.

Parent program: BEDTools

bedtools utilities are a swiss-army knife of tools for a wide-range of genomics analysis tasks. The most widely-used tools enable genome arithmetic: that is, set theory on the genome. For example, bedtools allows one to intersect, merge, count, complement, and shuffle genomic intervals from multiple files in widely-used genomic file formats such as BAM, BED, GFF, GTF, VCF. While each individual tool is designed to do a relatively simple task (e.g., intersect two interval files), quite sophisticated analyses can be conducted by combining multiple bedtools operations on the UNIX command line.