dizak / prwlr

Integrating genetic interactions networks and phylogenetic profiles.
https://dizak.github.io/prwlr
BSD 3-Clause "New" or "Revised" License
2 stars 1 forks source link

Detailed option for dropping duplicates ```prwlr.apis.get_org_db_X_ref``` #120

Closed dizak closed 5 years ago

dizak commented 5 years ago

prwlr.apis.get_org_db_X_ref gives only a single option for dropping duplicates. Though the option is only one, the duplicates are removed for each of the two columns (prwlr.apis.org_db_X_ref_df) separately.

Setting this option to True removes not only simply duplicated ORFs but also ORFs that present in more than one KO.

prwlr.apis.get_org_db_X_ref should allow for a choice for each of the columns.