Coder Social home page Coder Social logo

kronopt / fastaparser Goto Github PK

View Code? Open in Web Editor NEW
17.0 17.0 1.0 229 KB

A Python FASTA file Parser and Writer.

Home Page: https://fastaparser.readthedocs.io/en/latest/

License: GNU General Public License v3.0

Python 98.61% Makefile 1.39%
fasta fasta-parser fasta-reader fasta-writer parser python python-3

fastaparser's People

Contributors

kronopt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

mjratcliff

fastaparser's Issues

[Feature] Allow disabling warnings

Is your feature request related to a problem?
Sometimes warnings are unnecessary.

Describe the solution you'd like
Implement a way to disable warnings without having to implicitly import the warnings package outside of FastaParser.
Maybe add a new parameter to all classes specifying if warnings should be disabled or not (defaulting to 'No')

Problems building v1.1 with conda

conda build is failing to build FastaParser v1.1 because it can't find the docs/history.md file when running setup.py.
Because it installs the package directly from pypi instead of the local package, I would have to release a new version of FastaParser without the use of history.md for it to build properly...

Unless there's another solution, which I haven't found yet.

[Feature] Identify FASTA id's

Is your feature request related to a problem?
FastaSequence.id should provide more information on the id.
Most FASTA id's are standard and should, therefore, be easy to parse.

Sources:
https://en.wikipedia.org/wiki/FASTA_format#NCBI_identifiers
https://ncbi.github.io/cxx-toolkit/pages/ch_demo#ch_demo.id1_fetch.html_ref_fasta

Describe the solution you'd like
Implement a new class FastaId which should describe a certain FASTA id.
Instances of FastaId should be returned when calling FastaSequence.id

[Feature] Show warning if there are characters not in the FASTA specification

Is your feature request related to a problem?
Right now warnings are only shown when calling complement (FastaSequence and LetterCode), at_gc_ratio or gc_content (FastaSequence) methods.
No warning is shown when a sequence has characters not defined in the FASTA specification.

Describe the solution you'd like
It might make sense to show a warning if a sequence has at least a single character not defined in the FASTA specification.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.