BioDataFuse / pyBiodatafuse

Python package for biodatafuse project.
MIT License
3 stars 8 forks source link

MolMeDb, compound and gene interaction output #146

Closed tabbassidaloii closed 2 months ago

tabbassidaloii commented 3 months ago

When multiple publications support an interaction, they should be merged. here is the current of the outputs

[{'uniprot_trembl_id': 'O15244',
  'hgnc_symbol': 'SLC22A2',
  'source_doi': 'doi:10.1021/jm301302s',
  'source_pmid': '23241029'},
 {'uniprot_trembl_id': 'O15245',
  'hgnc_symbol': 'SLC22A1',
  'source_doi': 'doi:10.1021/jm301302s',
  'source_pmid': '23241029'},
 {'uniprot_trembl_id': 'O75751',
  'hgnc_symbol': 'SLC22A3',
  'source_doi': 'doi:10.1021/jm301302s',
  'source_pmid': '23241029'},
 {'uniprot_trembl_id': 'Q92887',
  'hgnc_symbol': 'ABCC2',
  'source_doi': 'doi:10.1093/toxsci/kft176',
  'source_pmid': '23956101'},
 {'uniprot_trembl_id': 'Q9UNQ0',
  'hgnc_symbol': 'ABCG2',
  'source_doi': 'doi:10.1124/mol.65.6.1485',
  'source_pmid': '15155841'},
 {'uniprot_trembl_id': 'Q9UNQ0',
  'hgnc_symbol': 'ABCG2',
  'source_doi': 'doi:10.1016/j.bmc.2008.07.034',
  'source_pmid': '18678495'},
 {'uniprot_trembl_id': 'Q9UNQ0',
  'hgnc_symbol': 'ABCG2',
  'source_doi': 'doi:10.1016/j.bmcl.2009.11.004',
  'source_pmid': '19932960'}]

ABCG2 should be only presented once and the papers should be combined in a list

YojanaGadiya commented 2 months ago

Fixed with #147