moltimate / moltimate-backend

A protein active site alignment tool
GNU General Public License v2.0
10 stars 6 forks source link

Create a service that gets the Pfam ID from a PDB ID #77

Open steplica opened 5 years ago

steplica commented 5 years ago

There is a mapping from PDB Id to Pfam ID in this file: ftp://ftp.ebi.ac.uk/pub/databases/Pfam/mappings/pdb_pfam_mapping.txt

We can store this as a static asset, the same way we are storing the CSA data. Parse the file into a map (String pdbId -> String pfamId) and use to add a pfamId property to each Motif as it's saved to the database.

steplica commented 5 years ago

This will not be handled by senior project team 2018-2019. Our team's recommendation is to store the above file to the static resources folder, and then create a custom parser for it.