Coder Social home page Coder Social logo

apollo3server's People

Contributors

abretaud avatar anaome avatar childers avatar cmdcolin avatar deepakunni3 avatar enuggetry avatar gitter-badger avatar gregghelt2 avatar hexylena avatar hsiaoyi0504 avatar justaddcoffee avatar jwlin avatar kimrutherford avatar lgretton avatar luke-c-sargent avatar mbc32 avatar moffmade avatar monicacecilia avatar nathandunn avatar nehavc avatar rbelnap avatar rbuels avatar robsyme avatar s2kfan avatar spficklin avatar trstickland avatar wesleyemason avatar yating-l avatar

Watchers

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

apollo3server's Issues

loading yeast data in apollo-performance fails to load mRNAs

Should be:

 grep -v ^#  loaded-data/yeast/raw/yeast.gff | cut -f3  | sort | uniq -c 
6913 CDS
7416 exon
   4 five_prime_UTR
7024 gene
6600 mRNA
  18 ncRNA
  12 pseudogene
  12 pseudogenic_transcript
  24 rRNA
   6 snRNA
  77 snoRNA
 299 tRNA
  91 transposable_element

Transfer annotation tool

Orthologs/Paralog feature, orthomcl clustering of orthologs can be utilized to transfer annotation across organisms.

(a script tool using web services, but somehow automated)

make sure we can complete a worm load

  • fix excessive # of genes
  • fix out of order isoforms
  • fix bad gene count (1400, should be 42K)

From apollo-performance code

grep "WormBase\tgene\t" loaded-data/worm/raw/worm.gff | wc -l
   44982

refactor FeatureService, create MRNA service

  • create MRNAService and move relevant methods
  • recast Transcript to MRNA
  • move remaining exon methods to TranscriptServices or ExonServices
  • create more methods and get rid of large if blocks / loops)
  • convert methods to exclusively use MRNA instead of Transcript
  • handle gene parent layer explicitly (if passed through)

fix travis output

seems to be an issue with the organism test failing in the other environment

fix multi_exon yeast test in python-apollo

Not sure what the source of this is, as other dual exons work fine. Likely possibilities are:

1 - a casting error
2 - an error to do with the "executeQuery" environment versus the GORM layer
3 - should move to using criteria queries where possible as it is still GORM, but allows for greater flexibility

Test ubuntu 20.04 java 11+

Will not work as it can't parse the version.

the solution is to use java 8

Grails not found using grailsw
Using gradlew

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine java version from '11.0.8'.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Gradle version:
Node Version: 10
Npm Version: 6
Yarn Version: 1
javac 1.8.0_265 found
javac installed
JDK 1.8 found: javac 1.8.0_265

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine java version from '11.0.8'.

fix gff3 output test

......S.............SSS.S..................................
----------------------------------------------------------------------
Ran 59 tests in 118.577s

OK (SKIP=5)
  • IOTest.test_export_gff3

fix isoform annotation test

  • fix overlap calculation when adding isoforms
  • verify proper INITIAL creation of the CDS
  • determine why it creates a single CDS model has the incorrect CDS that contains everything (should be 13096-13230) even though the calculation is correct

  • verify that the isoform test works properly
arrow annotations load_gff3 --timing --batch_size=1 test_organism test-data/mrna-isoforms.gff

 nosetests test/annotations_test.py:AnnotationsTest.test_isoforms

allow admin/instructors additional status values

The use case for this functionality is to allow curators/admin staff the ability to check users annotation and verify that it is accurate to their best assessment, putting a status for approval/rejected/pending to already status tagged "finished" models.

For some genomes in VEuPathDB we want to have some level of curatorial oversight especially with the highly curated organisms, so a way to approve a users annotation (mainly functional) would be beneficial. The way I thought this could be achieved is with an additional status that could be attributed to models that only an admin or role with higher permissions could use.

Example Joe Bloggs goes in drags a model to user created track, adds some GO terms and a product description, adds in the metadata and adds the status finished. A curator then goes in, looks at the report of all annotations with the finished status and goes through each annotation, either accepting the annotation as good or incorrect and adds another higher level status to approve/reject it....models with the admin tag are then parsed out and integrated.

add and integrate with Spring / Grails security for the client / server

Requirements:

  • consistent error handling (codes) and JSON return if more information needed
  • . . . .

  • Can swagger provide authentication layer?
  • How does user information get loaded?

use OAuth2 . . . in resources.groovy

https://swagger.io/docs/specification/authentication/oauth2/

https://swagger.io/docs/specification/authentication/
. . . with an ApiKey . . or others

fix intermettently failing organism test (remove logging?)

FAIL: test_delete_features (test.organism_test.OrganismTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/GMOD/Apollo3Server/python-apollo/test/organism_test.py", line 137, in test_delete_features
    assert 'features' in feats_after
assert 'features' in {'error': 'problem getting features: org.neo4j.driver.v1.exceptions.value.Uncoercible: Cannot coerce NULL to Java long'}
    assert len({'error': 'problem getting features: org.neo4j.driver.v1.exceptions.value.Uncoercible: Cannot coerce NULL to Java long'}['features']) == 0

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.