Coder Social home page Coder Social logo

microbedb's People

Contributors

hyphaltip avatar mlangill avatar

Stargazers

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

Watchers

 avatar  avatar

microbedb's Issues

Truncated database fields

Datatypes for gene.protein_accnum and replicon.rep_accnum should be changed from char(12) to a longer datatype. Currently data is being truncated. I'd recommend varchar(50).

test error: dropbox file not found

I've just downloaded and am trying to use the software, however i'm getting errors in the initial testing phase.

Log of attempt:
2016/01/26 14:21:13> Downloading file: Bacteria_2016-01-26/NCBI_orginfo.txt from Dropbox at: http://dl.dropbox.com/u/5329340/NCBI_orginfo.txt
2016/01/26 14:21:14> Problem with downloading! Waiting 60 seconds before attempting again.
2016/01/26 14:21:22> Error with downloading the new version: No such file or directory

I checked the url: http://dl.dropbox.com/u/5329340/NCBI_orginfo.txt and it gave a delightful 404 error.

scripts/download_version.pl: line 327:
#Note4: As of Nov. 15,2012 the metadata files are not available from NCBI ftp site. As temporary solution I have obtained the most recent metadata as of June 2012 and I am hosting these files via Dropbox. Therefore, metadata will only exist for genomes deposited before this date.

Is there something this can be replaced with? It clearly is not for recent genomes, as only the ones before 06/2012 are available.

In Note3 the file ftp://ftp.ncbi.nlm.nih.gov/genomes/GENOME_REPORTS/prokaryotes.txt is mentioned as still using older genome ids, not the latest BioProject ids. Is this still the case?

Thanks for your help!
-Benjamin-

Bio::Root::Exception error

Here is an example of multiple messages of error like the one below.
Is there a solutions?
Thank you

2014/12/09 10:30:55> Working on /repos/MicrobeDB/share/Bacteria_2014-12-08/Arthrobacter_chlorophenolicus_A6_uid58969/
/repos/MicrobeDB/share/Bacteria_2014-12-08/Arthrobacter_chlorophenolicus_A6_uid58969/NC_011879.gbk
/repos/MicrobeDB/share/Bacteria_2014-12-08/Arthrobacter_chlorophenolicus_A6_uid58969/NC_011881.gbk
/repos/MicrobeDB/share/Bacteria_2014-12-08/Arthrobacter_chlorophenolicus_A6_uid58969/NC_011886.gbk2014/12/09 10:30:55> Parsing file: /repos/MicrobeDB/share/Bacteria_2014-12-08/Arthrobacter_chlorophenolicus_A6_uid58969/NC_011879.gbk
2014/12/09 10:30:56> Couldn't add the following to microbedb: /repos/MicrobeDB/share/Bacteria_2014-12-08/Arthrobacter_chlorophenolicus_A6_uid58969/ ! Reason:
------------- EXCEPTION: Bio::Root::Exception -------------
MSG: start [426645] is greater than end [617].
If you want to truncated and reverse complement,
you must call trunc followed by revcom. Sorry.
STACK: Error::throw
STACK: Bio::Root::Root::throw /Library/Perl/5.18/Bio/Root/Root.pm:449
STACK: Bio::PrimarySeqI::trunc /Library/Perl/5.18/Bio/PrimarySeqI.pm:456
STACK: Bio::SeqFeature::Generic::seq /Library/Perl/5.18/Bio/SeqFeature/Generic.pm:705
STACK: MicrobeDB::Parse::parse_gbk ../../MicrobeDB/Parse.pm:232
STACK: MicrobeDB::Parse::parse_genome ../../MicrobeDB/Parse.pm:94
STACK: main::load_microbedb /Users/frederic.foucault/repos/MicrobeDB/scripts/load_version.pl:119
STACK: /Users/frederic.foucault/repos/MicrobeDB/scripts/load_version.pl:95

Allow users to add their own fields to mysql tables

End users will likely want to add their own fields to the tables in MySQL. For example, users may want to have another field for additional annotations for genes. Currently the MicrobeDB API breaks if a user tries to access a new mysql field since the field names are hard coded in each of Class modules (GenomeProject.pm, Replicon.pm, etc).

Most obvious solution is to move the column names into a config file that could be update by the user.

A more elegant solution would be to obtain the column names from the database first before searching.

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.