Builds PaperTrail from the base skeleton into a full evidence-verification platform for the "Built with Claude: Life Sciences" hackathon (Builder Track). New named-user features (Build Beyond the Bench): - Lab Notebook Companion — rough bench notes -> structured, searchable, grounded experiment records (lib/labNotebook, /console/lab-notebook, migration 0059) - Clinical Trial Matcher — de-identified patient notes -> ranked eligible ClinicalTrials.gov trials with per-criterion inclusion/exclusion reasoning (lib/trialMatcher, /console/trial-matcher, migrations 0060) Platform: - Deterministic verification moat (biostats recompute, exact-span grounding) - 11 biomedical evidence engines (FAERS, GWAS, Open Targets, ChEMBL, ClinVar, PharmGKB, PubTator, DDI, repurposing, biomarker, unified verifier) - Evidence Intelligence (KG, dossier, provenance/export, RWE) + enterprise governance (RBAC, /api/v1 gateway, metering, audit chain, retention) - 17 OSS projects assimilated into native TypeScript on our stack (backend/engines retained + credited in NOTICE) - Multi-format upload (PDF/DOCX/XLSX/CSV/MD/TXT), logo, marketing site - Next.js 16 upgrade, benchmark harness (honest smoke-test caveat) Licensing: Apache-2.0 (LICENSE + NOTICE).
821 lines
26 KiB
Plaintext
Vendored
821 lines
26 KiB
Plaintext
Vendored
{
|
||
"cells": [
|
||
{
|
||
"cell_type": "markdown",
|
||
"id": "1585d2ef",
|
||
"metadata": {},
|
||
"source": [
|
||
"# Finding invalid entries in the SIGNOR database"
|
||
]
|
||
},
|
||
{
|
||
"cell_type": "code",
|
||
"execution_count": 1,
|
||
"id": "3520729c",
|
||
"metadata": {},
|
||
"outputs": [],
|
||
"source": [
|
||
"import tqdm\n",
|
||
"import pandas\n",
|
||
"import bioregistry"
|
||
]
|
||
},
|
||
{
|
||
"cell_type": "markdown",
|
||
"id": "7b63645e",
|
||
"metadata": {},
|
||
"source": [
|
||
"## 1. Load SIGNOR export\n",
|
||
"This file can be obtained from the web as\n",
|
||
"\n",
|
||
"```\n",
|
||
"curl -X POST -d \"organism=human&format=csv&submit=Download\" -o signor.tsv https://signor.uniroma2.it/download_entity.php\n",
|
||
"```"
|
||
]
|
||
},
|
||
{
|
||
"cell_type": "code",
|
||
"execution_count": 2,
|
||
"id": "666676b8",
|
||
"metadata": {},
|
||
"outputs": [],
|
||
"source": [
|
||
"df = pandas.read_csv('/Users/ben/.data/indra/signor.tsv', sep='\\t')"
|
||
]
|
||
},
|
||
{
|
||
"cell_type": "markdown",
|
||
"id": "cfe9ea93",
|
||
"metadata": {},
|
||
"source": [
|
||
"## 2. Mapping database names to Bioregistry prefixes"
|
||
]
|
||
},
|
||
{
|
||
"cell_type": "code",
|
||
"execution_count": 3,
|
||
"id": "1318c8b1",
|
||
"metadata": {},
|
||
"outputs": [
|
||
{
|
||
"data": {
|
||
"text/plain": [
|
||
"{'UNIPROT': 'uniprot',\n",
|
||
" 'ChEBI': 'chebi',\n",
|
||
" 'PUBCHEM': 'pubchem.compound',\n",
|
||
" 'RNAcentral': 'rnacentral',\n",
|
||
" 'SIGNOR': 'signor',\n",
|
||
" 'DRUGBANK': 'drugbank'}"
|
||
]
|
||
},
|
||
"execution_count": 3,
|
||
"metadata": {},
|
||
"output_type": "execute_result"
|
||
}
|
||
],
|
||
"source": [
|
||
"db_mappings = {}\n",
|
||
"for db in set(df.DATABASEA) | set(df.DATABASEB):\n",
|
||
" db_mappings[db] = bioregistry.normalize_prefix(db)\n",
|
||
"db_mappings"
|
||
]
|
||
},
|
||
{
|
||
"cell_type": "markdown",
|
||
"id": "5d5312a3",
|
||
"metadata": {},
|
||
"source": [
|
||
"## 3. Checking identifiers for invalid entries\n",
|
||
"\n",
|
||
"We handle a few cases that are technically not canonical but are used \n",
|
||
"as conventions in the SIGNOR data, and don't flag these as invalid."
|
||
]
|
||
},
|
||
{
|
||
"cell_type": "code",
|
||
"execution_count": 4,
|
||
"id": "00d8f838",
|
||
"metadata": {
|
||
"scrolled": false
|
||
},
|
||
"outputs": [
|
||
{
|
||
"name": "stderr",
|
||
"output_type": "stream",
|
||
"text": [
|
||
"100%|████████████████████████████████████████████████████| 35206/35206 [00:00<00:00, 41354.37it/s]\n"
|
||
]
|
||
}
|
||
],
|
||
"source": [
|
||
"invalidities = []\n",
|
||
"# Iterate over each row\n",
|
||
"for _, row in tqdm.tqdm(df.iterrows(), total=len(df)):\n",
|
||
" # Look at both entities in the relationship\n",
|
||
" for ent in ('A', 'B'):\n",
|
||
" # Get basic data from the row\n",
|
||
" db = row[f'DATABASE{ent}']\n",
|
||
" prefix = db_mappings[db]\n",
|
||
" signor_id = row['SIGNOR_ID']\n",
|
||
" ident = row[f'ID{ent}']\n",
|
||
" \n",
|
||
" # If we have a CHEBI ID, we expect the convention\n",
|
||
" # of having a CHEBI: prefix\n",
|
||
" if prefix == 'chebi':\n",
|
||
" if ident.startswith('CHEBI:'):\n",
|
||
" ident = ident[6:]\n",
|
||
" else:\n",
|
||
" invalidities.append((db, ident, signor_id))\n",
|
||
" continue\n",
|
||
" \n",
|
||
" # If we have a PUBCHEM ID, we expect the convention\n",
|
||
" # of having a CID: prefix\n",
|
||
" elif prefix == 'pubchem.compound':\n",
|
||
" if ident.startswith('CID:'):\n",
|
||
" ident = ident[4:]\n",
|
||
" else:\n",
|
||
" invalidities.append((db, ident, signor_id))\n",
|
||
" continue\n",
|
||
" \n",
|
||
" # If we have a UniProt ID, there are a few conventions\n",
|
||
" # to handle:\n",
|
||
" # 1. Simple UniProt ID\n",
|
||
" # 2. UniProt isoform ID\n",
|
||
" # 3. UniProt ID coupled to a chain ID\n",
|
||
" # other patterns are considere invalid\n",
|
||
" elif prefix == 'uniprot':\n",
|
||
" parts = ident.split('-')\n",
|
||
" # This is a simple ID\n",
|
||
" if len(parts) == 1:\n",
|
||
" pass\n",
|
||
" # This is either an isoform or a chain\n",
|
||
" elif len(parts) == 2:\n",
|
||
" # If we're dealing with a chain\n",
|
||
" if parts[1].startswith('PRO'):\n",
|
||
" ident = parts[0]\n",
|
||
" pro_valid = bioregistry.is_valid_identifier('uniprot.chain', parts[1])\n",
|
||
" if not pro_valid:\n",
|
||
" invalidities.append((db, part[1], signor_id))\n",
|
||
" continue\n",
|
||
" # If we're dealing with an isoform\n",
|
||
" else:\n",
|
||
" iso_valid = bioregistry.is_valid_identifier('uniprot.isoform', ident)\n",
|
||
" if not iso_valid:\n",
|
||
" invalidities.append((db, ident, signor_id))\n",
|
||
" continue\n",
|
||
" else:\n",
|
||
" invalidities.append((db, ident, signor_id))\n",
|
||
" continue\n",
|
||
" \n",
|
||
" # Finally, we do a generic validity check\n",
|
||
" valid = bioregistry.is_valid_identifier(prefix, ident)\n",
|
||
" if not valid:\n",
|
||
" invalidities.append((db, ident, signor_id))\n",
|
||
" \n",
|
||
" # Now check PMIDs, accepting \"Other\" as a placeholder\n",
|
||
" # We also triage the ID to validate PMC IDs, and NCBI books\n",
|
||
" pmid = row['PMID']\n",
|
||
" if pmid == 'Other':\n",
|
||
" continue\n",
|
||
" elif pmid.startswith('PMC'):\n",
|
||
" if not bioregistry.is_valid_identifier('pmc', pmid):\n",
|
||
" invalidities.append(('PMID', pmid, signor_id))\n",
|
||
" elif pmid.startswith('NBK'):\n",
|
||
" if not bioregistry.is_valid_identifier('ncbibook', pmid):\n",
|
||
" invalidities.append(('PMID', pmid, signor_id))\n",
|
||
" elif not bioregistry.is_valid_identifier('pubmed', pmid):\n",
|
||
" invalidities.append(('PMID', pmid, signor_id))\n",
|
||
"\n",
|
||
"# Sort by SIGNOR ID\n",
|
||
"invalidities = sorted(invalidities, key=lambda x: x[2])"
|
||
]
|
||
},
|
||
{
|
||
"cell_type": "markdown",
|
||
"id": "6e222f94",
|
||
"metadata": {},
|
||
"source": [
|
||
"## 4. Display table of invalid entries"
|
||
]
|
||
},
|
||
{
|
||
"cell_type": "code",
|
||
"execution_count": 5,
|
||
"id": "e69c0bd1",
|
||
"metadata": {},
|
||
"outputs": [
|
||
{
|
||
"data": {
|
||
"text/html": [
|
||
"<div>\n",
|
||
"<style scoped>\n",
|
||
" .dataframe tbody tr th:only-of-type {\n",
|
||
" vertical-align: middle;\n",
|
||
" }\n",
|
||
"\n",
|
||
" .dataframe tbody tr th {\n",
|
||
" vertical-align: top;\n",
|
||
" }\n",
|
||
"\n",
|
||
" .dataframe thead th {\n",
|
||
" text-align: right;\n",
|
||
" }\n",
|
||
"</style>\n",
|
||
"<table border=\"1\" class=\"dataframe\">\n",
|
||
" <thead>\n",
|
||
" <tr style=\"text-align: right;\">\n",
|
||
" <th></th>\n",
|
||
" <th>database</th>\n",
|
||
" <th>identifier</th>\n",
|
||
" <th>signor_id</th>\n",
|
||
" </tr>\n",
|
||
" </thead>\n",
|
||
" <tbody>\n",
|
||
" <tr>\n",
|
||
" <th>0</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>11179217</td>\n",
|
||
" <td>SIGNOR-255742</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>1</th>\n",
|
||
" <td>ChEBI</td>\n",
|
||
" <td>SID:134445687</td>\n",
|
||
" <td>SIGNOR-259385</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>2</th>\n",
|
||
" <td>ChEBI</td>\n",
|
||
" <td>SID:134445687</td>\n",
|
||
" <td>SIGNOR-259386</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>3</th>\n",
|
||
" <td>ChEBI</td>\n",
|
||
" <td>SID:134445687</td>\n",
|
||
" <td>SIGNOR-259387</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>4</th>\n",
|
||
" <td>ChEBI</td>\n",
|
||
" <td>SID:46508054</td>\n",
|
||
" <td>SIGNOR-259388</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>5</th>\n",
|
||
" <td>ChEBI</td>\n",
|
||
" <td>SID:46508054</td>\n",
|
||
" <td>SIGNOR-259389</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>6</th>\n",
|
||
" <td>ChEBI</td>\n",
|
||
" <td>SID:46508054</td>\n",
|
||
" <td>SIGNOR-259390</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>7</th>\n",
|
||
" <td>ChEBI</td>\n",
|
||
" <td>SID:135317436</td>\n",
|
||
" <td>SIGNOR-259391</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>8</th>\n",
|
||
" <td>ChEBI</td>\n",
|
||
" <td>SID:125240988</td>\n",
|
||
" <td>SIGNOR-259392</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>9</th>\n",
|
||
" <td>ChEBI</td>\n",
|
||
" <td>SID:125240988</td>\n",
|
||
" <td>SIGNOR-259393</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>10</th>\n",
|
||
" <td>ChEBI</td>\n",
|
||
" <td>SID:125240988</td>\n",
|
||
" <td>SIGNOR-259394</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>11</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>11823437</td>\n",
|
||
" <td>SIGNOR-260977</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>12</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>25111180</td>\n",
|
||
" <td>SIGNOR-261147</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>13</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>other</td>\n",
|
||
" <td>SIGNOR-261671</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>14</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>other</td>\n",
|
||
" <td>SIGNOR-261672</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>15</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>16930133</td>\n",
|
||
" <td>SIGNOR-261957</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>16</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>16930133</td>\n",
|
||
" <td>SIGNOR-261958</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>17</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>9305891</td>\n",
|
||
" <td>SIGNOR-267253</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>18</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>33201916</td>\n",
|
||
" <td>SIGNOR-267258</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>19</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>33201916</td>\n",
|
||
" <td>SIGNOR-267259</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>20</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>29892818</td>\n",
|
||
" <td>SIGNOR-267281</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>21</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>12689621 </td>\n",
|
||
" <td>SIGNOR-267373</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>22</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>9397972</td>\n",
|
||
" <td>SIGNOR-267485</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>23</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>9397972</td>\n",
|
||
" <td>SIGNOR-267486</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>24</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>9397972</td>\n",
|
||
" <td>SIGNOR-267487</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>25</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td> 31810556</td>\n",
|
||
" <td>SIGNOR-267864</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>26</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td> 31810556</td>\n",
|
||
" <td>SIGNOR-267865</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>27</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td> 31810556</td>\n",
|
||
" <td>SIGNOR-267866</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>28</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td> 31810556</td>\n",
|
||
" <td>SIGNOR-267867</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>29</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td> 31810556</td>\n",
|
||
" <td>SIGNOR-267868</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>30</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>14966270</td>\n",
|
||
" <td>SIGNOR-269286</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>31</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>14966270</td>\n",
|
||
" <td>SIGNOR-269287</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>32</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>14966270</td>\n",
|
||
" <td>SIGNOR-269288</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>33</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>14966270</td>\n",
|
||
" <td>SIGNOR-269289</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>34</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>14966270</td>\n",
|
||
" <td>SIGNOR-269290</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>35</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>14966270</td>\n",
|
||
" <td>SIGNOR-269291</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>36</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>14966270</td>\n",
|
||
" <td>SIGNOR-269292</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>37</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>14966270</td>\n",
|
||
" <td>SIGNOR-269293</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>38</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>14966270</td>\n",
|
||
" <td>SIGNOR-269294</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>39</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>14966270</td>\n",
|
||
" <td>SIGNOR-269295</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>40</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>14966270</td>\n",
|
||
" <td>SIGNOR-269296</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>41</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>14966270</td>\n",
|
||
" <td>SIGNOR-269297</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>42</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>14966270</td>\n",
|
||
" <td>SIGNOR-269298</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>43</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>14966270</td>\n",
|
||
" <td>SIGNOR-269299</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>44</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>14966270</td>\n",
|
||
" <td>SIGNOR-269300</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>45</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>14966270</td>\n",
|
||
" <td>SIGNOR-269301</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>46</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>14966270</td>\n",
|
||
" <td>SIGNOR-269302</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>47</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>14966270</td>\n",
|
||
" <td>SIGNOR-269303</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>48</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>14966270</td>\n",
|
||
" <td>SIGNOR-269304</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>49</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>14966270</td>\n",
|
||
" <td>SIGNOR-269305</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>50</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>14966270</td>\n",
|
||
" <td>SIGNOR-269306</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>51</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>33450351</td>\n",
|
||
" <td>SIGNOR-269452</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>52</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>33450351</td>\n",
|
||
" <td>SIGNOR-269453</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>53</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>33450351</td>\n",
|
||
" <td>SIGNOR-269454</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>54</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>33450351</td>\n",
|
||
" <td>SIGNOR-269455</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>55</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>33450351</td>\n",
|
||
" <td>SIGNOR-269456</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>56</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>31831667</td>\n",
|
||
" <td>SIGNOR-272055</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>57</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>31831667</td>\n",
|
||
" <td>SIGNOR-272056</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>58</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>31831667</td>\n",
|
||
" <td>SIGNOR-272058</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>59</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>31831667</td>\n",
|
||
" <td>SIGNOR-272059</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>60</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>31831667</td>\n",
|
||
" <td>SIGNOR-272060</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>61</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>31831667</td>\n",
|
||
" <td>SIGNOR-272061</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>62</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>31831667</td>\n",
|
||
" <td>SIGNOR-272062</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>63</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>31831667</td>\n",
|
||
" <td>SIGNOR-272063</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>64</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>31831667</td>\n",
|
||
" <td>SIGNOR-272064</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>65</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>31831667</td>\n",
|
||
" <td>SIGNOR-272065</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>66</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>31831667</td>\n",
|
||
" <td>SIGNOR-272066</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>67</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>31831667</td>\n",
|
||
" <td>SIGNOR-272067</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>68</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>31831667</td>\n",
|
||
" <td>SIGNOR-272068</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>69</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>31831667</td>\n",
|
||
" <td>SIGNOR-272069</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>70</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>31831667</td>\n",
|
||
" <td>SIGNOR-272070</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>71</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>31831667</td>\n",
|
||
" <td>SIGNOR-272071</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>72</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>31831667</td>\n",
|
||
" <td>SIGNOR-272072</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>73</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>31831667</td>\n",
|
||
" <td>SIGNOR-272073</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>74</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>31831667</td>\n",
|
||
" <td>SIGNOR-272074</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>75</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>9670026</td>\n",
|
||
" <td>SIGNOR-272080</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>76</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>9670026</td>\n",
|
||
" <td>SIGNOR-272081</td>\n",
|
||
" </tr>\n",
|
||
" <tr>\n",
|
||
" <th>77</th>\n",
|
||
" <td>PMID</td>\n",
|
||
" <td>9670026</td>\n",
|
||
" <td>SIGNOR-272082</td>\n",
|
||
" </tr>\n",
|
||
" </tbody>\n",
|
||
"</table>\n",
|
||
"</div>"
|
||
],
|
||
"text/plain": [
|
||
" database identifier signor_id\n",
|
||
"0 PMID 11179217 SIGNOR-255742\n",
|
||
"1 ChEBI SID:134445687 SIGNOR-259385\n",
|
||
"2 ChEBI SID:134445687 SIGNOR-259386\n",
|
||
"3 ChEBI SID:134445687 SIGNOR-259387\n",
|
||
"4 ChEBI SID:46508054 SIGNOR-259388\n",
|
||
"5 ChEBI SID:46508054 SIGNOR-259389\n",
|
||
"6 ChEBI SID:46508054 SIGNOR-259390\n",
|
||
"7 ChEBI SID:135317436 SIGNOR-259391\n",
|
||
"8 ChEBI SID:125240988 SIGNOR-259392\n",
|
||
"9 ChEBI SID:125240988 SIGNOR-259393\n",
|
||
"10 ChEBI SID:125240988 SIGNOR-259394\n",
|
||
"11 PMID 11823437 SIGNOR-260977\n",
|
||
"12 PMID 25111180 SIGNOR-261147\n",
|
||
"13 PMID other SIGNOR-261671\n",
|
||
"14 PMID other SIGNOR-261672\n",
|
||
"15 PMID 16930133 SIGNOR-261957\n",
|
||
"16 PMID 16930133 SIGNOR-261958\n",
|
||
"17 PMID 9305891 SIGNOR-267253\n",
|
||
"18 PMID 33201916 SIGNOR-267258\n",
|
||
"19 PMID 33201916 SIGNOR-267259\n",
|
||
"20 PMID 29892818 SIGNOR-267281\n",
|
||
"21 PMID 12689621  SIGNOR-267373\n",
|
||
"22 PMID 9397972 SIGNOR-267485\n",
|
||
"23 PMID 9397972 SIGNOR-267486\n",
|
||
"24 PMID 9397972 SIGNOR-267487\n",
|
||
"25 PMID  31810556 SIGNOR-267864\n",
|
||
"26 PMID  31810556 SIGNOR-267865\n",
|
||
"27 PMID  31810556 SIGNOR-267866\n",
|
||
"28 PMID  31810556 SIGNOR-267867\n",
|
||
"29 PMID  31810556 SIGNOR-267868\n",
|
||
"30 PMID 14966270 SIGNOR-269286\n",
|
||
"31 PMID 14966270 SIGNOR-269287\n",
|
||
"32 PMID 14966270 SIGNOR-269288\n",
|
||
"33 PMID 14966270 SIGNOR-269289\n",
|
||
"34 PMID 14966270 SIGNOR-269290\n",
|
||
"35 PMID 14966270 SIGNOR-269291\n",
|
||
"36 PMID 14966270 SIGNOR-269292\n",
|
||
"37 PMID 14966270 SIGNOR-269293\n",
|
||
"38 PMID 14966270 SIGNOR-269294\n",
|
||
"39 PMID 14966270 SIGNOR-269295\n",
|
||
"40 PMID 14966270 SIGNOR-269296\n",
|
||
"41 PMID 14966270 SIGNOR-269297\n",
|
||
"42 PMID 14966270 SIGNOR-269298\n",
|
||
"43 PMID 14966270 SIGNOR-269299\n",
|
||
"44 PMID 14966270 SIGNOR-269300\n",
|
||
"45 PMID 14966270 SIGNOR-269301\n",
|
||
"46 PMID 14966270 SIGNOR-269302\n",
|
||
"47 PMID 14966270 SIGNOR-269303\n",
|
||
"48 PMID 14966270 SIGNOR-269304\n",
|
||
"49 PMID 14966270 SIGNOR-269305\n",
|
||
"50 PMID 14966270 SIGNOR-269306\n",
|
||
"51 PMID 33450351 SIGNOR-269452\n",
|
||
"52 PMID 33450351 SIGNOR-269453\n",
|
||
"53 PMID 33450351 SIGNOR-269454\n",
|
||
"54 PMID 33450351 SIGNOR-269455\n",
|
||
"55 PMID 33450351 SIGNOR-269456\n",
|
||
"56 PMID 31831667 SIGNOR-272055\n",
|
||
"57 PMID 31831667 SIGNOR-272056\n",
|
||
"58 PMID 31831667 SIGNOR-272058\n",
|
||
"59 PMID 31831667 SIGNOR-272059\n",
|
||
"60 PMID 31831667 SIGNOR-272060\n",
|
||
"61 PMID 31831667 SIGNOR-272061\n",
|
||
"62 PMID 31831667 SIGNOR-272062\n",
|
||
"63 PMID 31831667 SIGNOR-272063\n",
|
||
"64 PMID 31831667 SIGNOR-272064\n",
|
||
"65 PMID 31831667 SIGNOR-272065\n",
|
||
"66 PMID 31831667 SIGNOR-272066\n",
|
||
"67 PMID 31831667 SIGNOR-272067\n",
|
||
"68 PMID 31831667 SIGNOR-272068\n",
|
||
"69 PMID 31831667 SIGNOR-272069\n",
|
||
"70 PMID 31831667 SIGNOR-272070\n",
|
||
"71 PMID 31831667 SIGNOR-272071\n",
|
||
"72 PMID 31831667 SIGNOR-272072\n",
|
||
"73 PMID 31831667 SIGNOR-272073\n",
|
||
"74 PMID 31831667 SIGNOR-272074\n",
|
||
"75 PMID 9670026 SIGNOR-272080\n",
|
||
"76 PMID 9670026 SIGNOR-272081\n",
|
||
"77 PMID 9670026 SIGNOR-272082"
|
||
]
|
||
},
|
||
"execution_count": 5,
|
||
"metadata": {},
|
||
"output_type": "execute_result"
|
||
}
|
||
],
|
||
"source": [
|
||
"pandas.set_option('display.max_rows', None)\n",
|
||
"pandas.DataFrame(invalidities, columns=[\"database\", \"identifier\", \"signor_id\"])"
|
||
]
|
||
}
|
||
],
|
||
"metadata": {
|
||
"kernelspec": {
|
||
"display_name": "Python 3 (ipykernel)",
|
||
"language": "python",
|
||
"name": "python3"
|
||
},
|
||
"language_info": {
|
||
"codemirror_mode": {
|
||
"name": "ipython",
|
||
"version": 3
|
||
},
|
||
"file_extension": ".py",
|
||
"mimetype": "text/x-python",
|
||
"name": "python",
|
||
"nbconvert_exporter": "python",
|
||
"pygments_lexer": "ipython3",
|
||
"version": "3.10.11"
|
||
}
|
||
},
|
||
"nbformat": 4,
|
||
"nbformat_minor": 5
|
||
}
|