-
Notifications
You must be signed in to change notification settings - Fork 92
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
maintenance extension to stub out from NCBI #875
Conversation
Codecov Report
@@ Coverage Diff @@
## main #875 +/- ##
=======================================
Coverage 99.08% 99.08%
=======================================
Files 55 55
Lines 2410 2410
Branches 284 284
=======================================
Hits 2388 2388
Misses 14 14
Partials 8 8 Continue to review full report at Codecov.
|
Looks great @andrewkern, but I think the mapping of scientific names to UIDs is a bit too weak. I tried it for Mus Musculus and it didn't work. I'll tack on a commit with some updates. |
Mus musculus worked fine for me? right now the name has to be in quotes...
|
I've added a commit which changes to using the UID @andrewkern:
This seems a bit more reliable than searching for the last modified record anyway? |
I tried "Mus musculus" and it didn't work for me - it found loads of matches and returned some random accession with no chromosomes. |
weird! I got this in my
|
I'm not sure there's much point in trying to automate this @andrewkern - it'll never work in all cases. It's easy enough to find the UID, once you know where to look. This stuff will just keep breaking every time we update if we don't have a fixed ID. I've added a commit to this PR - which does this. How about we merge that much and see how it goes? |
yes sounds good to me. |
Done! |
this PR adds
add-species-ncbi
to the maintenance module. it takes as an argument the species name in binomial nomenclature, e.g., "Drosophila simulans". Quotes must be included around the search termshould work in the meantime to help folks stub stuff out from NCBI