gmod / apollo3server Goto Github PK
View Code? Open in Web Editor NEWApollo 3 Server: Grails 4 + Neo4j 3.5 + JB2
License: BSD 3-Clause "New" or "Revised" License
Apollo 3 Server: Grails 4 + Neo4j 3.5 + JB2
License: BSD 3-Clause "New" or "Revised" License
move database pieces to neo4j
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
May need to provide a uniqueName for Organisms (maybe we should call these "Genome's?")
Orthologs/Paralog feature, orthomcl clustering of orthologs can be utilized to transfer annotation across organisms.
(a script tool using web services, but somehow automated)
If a terminator or Shine Dalgarno is associated with a gene, this should be indicated
In this case they would get coded similar to an exon, but not included in ORF calculations as they are usually upstream of the mRNA
From apollo-performance code
grep "WormBase\tgene\t" loaded-data/worm/raw/worm.gff | wc -l
44982
https://travis-ci.org/github/GMOD/Apollo3Server/jobs/721555556
EEEEE.SE............SSS.S..................................
From #22
replace "gormInstance instanceof Class" with "gormInstance.instanceOf(Class.class)"
i.e.,
feature instanceof Gene
should be:
feature.instanceOf(Gene.class)
seems to be an issue with the organism test failing in the other environment
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
remove skipped test
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'.
https://travis-ci.org/github/GMOD/Apollo3Server
......S.............SSS.S..................................
----------------------------------------------------------------------
Ran 59 tests in 118.577s
OK (SKIP=5)
arrow annotations load_gff3 --timing --batch_size=1 test_organism test-data/mrna-isoforms.gff
nosetests test/annotations_test.py:AnnotationsTest.test_isoforms
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.
Sync against this model: https://github.com/biolink/biolink-model/blob/master/biolink-model.yaml
Graphql references:
https://github.com/biolink/biolink-model/blob/master/biolink-model.graphql#L687
generate JSON Feature to reflect the Apollo model
describe tree
upload biolink schema
do comparison
Requirements:
use OAuth2 . . . in resources.groovy
https://swagger.io/docs/specification/authentication/oauth2/
https://swagger.io/docs/specification/authentication/
. . . with an ApiKey . . or others
This would be a potential way to help enforce Schem as well. Something to explroe
https://neo4j.com/developer/graphql/
. . . also: https://people.groupon.com/2019/swagql-use-graphql-in-minutes-leave-the-rest-to-us/
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.