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.
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.
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.