Skip to main content

A python FASTA parser

Project description

FastaParser

A python FASTA parser

>>> import fastaparser
>>> with open("fasta_file.fasta") as fasta_file:
...     parser = fastaparser.Reader(fasta_file)
...     for seq in parser:
...         print(seq.id, seq.description)

HSBGPG Human gene for bone gla protein (BGP)
HSGLTH1 Human theta 1-globin gene

Work in Progress

  • PyPi package
  • Documentation (readthedocs)
    • Home
    • Installation
    • Usage
    • Examples
    • API Specification
    • Contributing
    • Authors
    • History
  • Conda package (?)
  • README

Maybe

  • Identify FASTA ID's
  • FASTAID class, to then return in the id property of FastaSequence
  • FASTQ parser
  • Per fasta sequence, show warning if there are characters not in the FASTA specification
  • Way to disable warnings
  • Allow setting of id/description

Project details


Download files

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

Source Distribution

fastaparser-1.0.tar.gz (13.3 kB view hashes)

Uploaded Source

Built Distribution

fastaparser-1.0-py3-none-any.whl (28.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page