Skip to main content
https://img.shields.io/pypi/v/fastatools.svg

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.

Features

  • 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:

https://github.com/CFSAN-Biostatistics/fastatools

License

See the LICENSE file included in the fastatools distribution.

History

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.

Download files

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

Source Distribution

fastatools-1.2.0.tar.gz (17.0 kB view details)

Uploaded Source

File details

Details for the file fastatools-1.2.0.tar.gz.

File metadata

  • Download URL: fastatools-1.2.0.tar.gz
  • Upload date:
  • Size: 17.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.5

File hashes

Hashes for fastatools-1.2.0.tar.gz
Algorithm Hash digest
SHA256 3f9f42eb70c076801d2082bc1feada367d1cc6709721f3449303b459ff48c10a
MD5 46530afb7a9ca1375f4b4232add81971
BLAKE2b-256 44f827535aa7b3ecf8d54a470280dd2f6ce64d0fb74ac2dc024587ede1ed7523

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.2.0 This release

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page