Giter Site home page Giter Site logo

lattice-automation / seqparse Goto Github PK

View Code? Open in Web Editor NEW
9.0 3.0 3.0 5.01 MB

Parse sequence files (GenBank, FASTA, SnapGene, SBOL) and accession IDs (NCBI, iGEM) to a common format

License: MIT License

JavaScript 4.36% Shell 0.55% Gnuplot 16.94% TypeScript 78.15%
fasta genbank javascript file parse igem ncbi parsing

seqparse's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

devindata

seqparse's Issues

InvertBio Buggy Annotations

Buggy annotations
We mostly use SeqViz with genbank files and have noticed that annotation parsing is off without us being able to really figure out why/how to fix it in the files. I can try to find an example for you we can share (hard because it's mainly customer IP we're working with). But the same file in SeqViz and in Snapgene render differently and it results in both more, but wrong, annotation shown in SeqViz and fewer/hidden annotations that doesn't appear in SeqViz.

Visualisation of unassembled strains
Some of the genbank files we have contain multiple strains (typically unassembled reads), which SeqViz by default concatenates the sequences as it was one โ€“ which is wrong and hard to catch. Snapgene let's you select which of the sequences to view, which is what we've now built ourselves too, so that we add a select-step before rendering just one of the sequences in the file with SeqViz.

from Holger Thorup at https://invertbio.com/
whatever the fixes are they're go into https://github.com/Lattice-Automation/seqparse

Add sequence file generation

Make it possible to generate sequence files from the SeqParse simple, common format. File formats:

  • GenBank
  • FASTA
  • GTF
  • GFF

Error when querying by NP

I get an error when I call the seqparse function using a NP ID (e.g., NP_000229.1).

I looked at the queries and found that it uses the nuccore database:
https://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=nuccore&id=NP_000229.1&rettype=gbwithparts&retmode=text

I think that it should use the protein database, which would lead to the following URL:
https://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=protein&id=NP_000229.1&rettype=gbwithparts&retmode=text

This query does return a successful result. My code is the following:

// ...
useEffect(() => {
    seqparse("NP_000229.1")
      .then(console.log)
      .catch(console.error);
  }, []);
// ...

Am I doing something wrong or is there an error in the code?

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.