Masks specified regions in FASTA sequences
Jason Kwong (@kwongjc)
- Python 3.x
- BioPython
$ fa-mask.py -h
usage:
fa-mask.py --regions <FILE> FASTA > masked.fa
Script to mask specified regions in FASTA sequence
positional arguments:
FASTA FASTA sequence to modify (required)
optional arguments:
-h, --help show this help message and exit
--regions FILE Tab-separated file with 3 columns: LOCUS START END (BED format) (required)
--mask N Symbol to use for masking regions (default = "N").
Use "--mask lc" to perform soft masking in lower case
--out FILE Output file for new genome (optional - otherwise will print to stdout)
--version show program's version number and exit
Please submit via the GitHub issues page.