-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
adds synteny info to GSTF prep tool #148
base: master
Are you sure you want to change the base?
Conversation
We have replaced TravisCI with GitHub workflows for a while 😉 |
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
cur.execute('SELECT gene_id FROM gene where species=? AND seq_region_name=? ORDER BY seq_region_start ASC', | ||
(genome, ref, )) | ||
|
||
return cur.fetchall() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's probably a bit too far :D
I'd take lines 542-549 and make a function with them (you could re-use populate_synteny
as a name) and merge the other 4 functions (fetch_genomes, fetch_seq_region_names, fetch_genes_by_order, populate_synteny) in it.
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
…f_preparation/gstf_preparation.py Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
…on.py Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
…o fetch gene_id in tools/gstf_preparation/gstf_preparation.py Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
No description provided.