Spaces:
Sleeping
Sleeping
Commit ·
d7b94cf
1
Parent(s): abd5674
Update code/add_3Dalignment.py
Browse files214 unmodified lines215216217218219220221222223214 unmodified linesdef get_alignments_3D(identifier, model_num, pdbSequence, source, chain, pdbID, mode,file_format = 'gzip'):pdbSequence = convert_non_standard_amino_acids(pdbSequence)if mode == 1:if source != 'MODBASE':# Step 1: Fetch the PDB filepdb_url = f"https://files.rcsb.org/download/{pdbID}.pdb"response = requests.get(pdb_url)214 unmodified lines215216217218219220221222223224225214 unmodified linesdef get_alignments_3D(identifier, model_num, pdbSequence, source, chain, pdbID, mode,file_format = 'gzip'):print('In Function')pdbSequence = convert_non_standard_amino_acids(pdbSequence)if mode == 1:if source != 'MODBASE':print('I am here')# Step 1: Fetch the PDB filepdb_url = f"https://files.rcsb.org/download/{pdbID}.pdb"response = requests.get(pdb_url)
code/add_3Dalignment.py+2