usegalaxy-eu / galaxy Goto Github PK
View Code? Open in Web Editor NEWThis project forked from galaxyproject/galaxy
Data intensive science for everyone.
Home Page: https://galaxyproject.org/
License: Other
This project forked from galaxyproject/galaxy
Data intensive science for everyone.
Home Page: https://galaxyproject.org/
License: Other
Copied this over from #131.
Once the beacon integration goes live and sees some use, the limitations described here should be revisited.
The import method uses the following info fields
2 * num_called
as a fallback (num_called is calculated from VCF)AC / AN
as a fallbackThere is an option min_ac
for filtering out variants that were seen less than a minimal amount (1 by default). I currently set this to 0 - setting this to anything higher than 0 will also break the import for anything that does not contain VT (and maybe others too)
The import is a bit "python-esc"
It has an _unpack method, that reads the INFO fields into nested lists.
While inserting variants list entries are just accessed by indices, leading to "index out of bounds" exceptions whenever something is not set.
There is a try/catch
block around the whole for each variant in variants
loop that catches these exceptions, cancelling 1000 variant imports a pop.
There is also a whole other block that is calling for SVTYPE and MATEID info field. I just never had any data with variant.is_sv == true
On another note, the same variant is never added twice duo to ON CONFLICT (datasetId, chromosome, start, reference, alternate) DO NOTHING
.
In an ideal world we would increment sample and allele counts and recalculate the allele frequency.
But Iยดd argue that its not that big of a deal, since the datasets uploaded by users are arbitrary and therefore allele frequency across this data has not much meaning anyway.
TL;DR;
Had to add AC info field as a requirement.
The import routine that comes with beacon-python was written for a specific kind of dataset. It does the job for now, but if the feature sees some use we will write our own importer to handle all kinds of data (as suggested in the docs).
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.