ohnosequences / db.rnacentral

Mirror, filtered annotations, and BLAST DBs from RNAcentral
http://rnacentral.org/
GNU Affero General Public License v3.0
2 stars 0 forks source link

Parse id mappings #54

Closed ncordon closed 5 years ago

ncordon commented 6 years ago

Original plan was to parse the mappings RNAID -> TaxID in https://github.com/ohnosequences/db.rna16s.assignments/, but since this is going to be required also in https://github.com/ohnosequences/db.fragments16s.assignments/ maybe we should do that here.

Proposed format: a comma separated file with the following information, by rows: RNAID, TaxID¹, TaxID², ...,

It would be desirable to have a method

db.rnacentral.idMappings(version: Version): Map[RNAID, Set[TaxID]]

or similar.

ncordon commented 5 years ago

I am going to move this to https://github.com/ohnosequences/db.rna16s after a discussion with @agarciamontoro