Skip to content

kwongj/fa-mask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

fa-mask

Masks specified regions in FASTA sequences

Author

Jason Kwong (@kwongjc)

Dependencies

  • Python 3.x
  • BioPython

Usage

$ 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

Bugs

Please submit via the GitHub issues page.

Software Licence

GPLv3

About

Masks specified regions in FASTA sequences

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages