Skip to content

Extracts records from a fasta based on a list of fasta headers.

License

Notifications You must be signed in to change notification settings

sheinasim/FastaParser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

FastaParser

Extracts records from a fasta based on a list of fasta headers.

Dependencies:

  • Python3
  • Biopython
  • Python pandas==1.3.4

Usage

python fastaParser.py <assembly.fasta> <records.txt>

If no arguments are provided, the script will return help message.

Outputs

  • {records file prefix}_records.fasta
  • {records file prefix}_records.lengths
  • {records file prefix}_remaining.fasta
  • {records file prefix}_remaining.lengths

Citation

If this script is useful to you, please cite the following in your publication:

@software{FastaParser,
  author = {Sim, Sheina B.},
  title = {FastaParser},
  url = {https://github.com/sheinasim/FastaParser}
}

Sheina B. Sim
USDA-ARS
US Pacific Basin Agricultural Research Service
Hilo, Hawaii, 96720 USA
[email protected]

This script is in the public domain in the United States per 17 U.S.C. § 105

About

Extracts records from a fasta based on a list of fasta headers.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages