Skip to main content

Tools for working with fasta files.

Project description

Tools for working with fasta files.

The fastatools package was developed by the United States Food and Drug Administration, Center for Food Safety and Applied Nutrition.


  • Print the lengths of sequences.
  • Determine if two fasta files are equivalent.
  • Fix inconsistent line lengths and inconsistent lowercase.
  • Generate a reverse complement of a fasta file.
  • Extract a slice from a fasta file delimited by primers.
  • Extract a range of positions from a fasta file.

Citing fastatools

To cite fastatools, please reference the fastatools GitHub repository:


See the LICENSE file included in the fastatools distribution.


1.2.0 (2018-12-10)

  • First public release with docs and automated tests.

1.1.0 (2018-10-25)

  • Add range command to extract a range of positions from a fasta file.
  • Add equiv command to check for equivalent fasta files.
  • Add rewrite command to fix line length and uppercase/lowercase inconsistencies.

1.0.0 (2018-09-21)

  • Add length command to print the length of all the sequences in fasta files.

0.1.0 (2017-11-30)

  • Project started.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for fastatools, version 1.2.0
Filename, size File type Python version Upload date Hashes
Filename, size fastatools-1.2.0.tar.gz (17.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page