Abihilasha, Suggesting the files are in your local folder, you could read R values from PDB file itself. I have made small python script (in attachment) that will read files in a folder and output R/Rfree values to the terminal.
######################################################################## To unsubscribe from the CCP4BB list, click the following link: https://www.jiscmail.ac.uk/cgi-bin/WA-JISC.exe?SUBED1=CCP4BB&A=1 This message was issued to members of www.jiscmail.ac.uk/CCP4BB, a mailing list hosted by www.jiscmail.ac.uk, terms & conditions are available at https://www.jiscmail.ac.uk/policyandsecurity/
import glob import re for pdb_filename in glob.glob('*pdb'): R_w = '' R_free = '' with open(pdb_filename) as f: for line in f: if line.startswith('REMARK 3'): res = re.search('3 R VALUE\s+\(WORKING SET\) : (\S+)',line) if res and res.group(1): R_w = res.group(1) res = re.search('3 FREE R VALUE\s+: (\S+)',line) if res and res.group(1): R_free = res.group(1) print('{}\tRw {} Rfree {}'.format(pdb_filename,R_w,R_free)) # format as you wish
-- Evgenii Osipov Laboratory for Biocrystallography, Department of Pharmaceutical Sciences, KU Leuven O&N2 mobile: +32 484 38 26 01 > On 1 Jun 2022, at 08:17, Robbie Joosten <robbie_joos...@hotmail.com> wrote: > > Depending on how you process the model, the reported R-value becomes invalid. > So you need to get it from the PDB entry before processing or recalculate it > with respect to the experimental data. > > Cheers, > Robbie > >> -----Original Message----- >> From: CCP4 bulletin board <CCP4BB@JISCMAIL.AC.UK> On Behalf Of >> Abhilasha Thakur >> Sent: Wednesday, June 1, 2022 07:52 >> To: CCP4BB@JISCMAIL.AC.UK >> Subject: [ccp4bb] Regarding R factor value >> >> Hello!! >> >> I have 1500 processed PDB files and I need the R factor value for each pdb >> files. How I get this R factor value, because it's there initially but, after >> processing, some data from PDB is deleted. Manually to get R factor is not >> possible. >> >> Please suggest me, how to get this R factor value for the entire PDB ids. >> >> ________________________________ >> >> >> To unsubscribe from the CCP4BB list, click the following link: >> https://www.jiscmail.ac.uk/cgi-bin/WA-JISC.exe?SUBED1=CCP4BB&A=1 > > > ######################################################################## > > To unsubscribe from the CCP4BB list, click the following link: > https://www.jiscmail.ac.uk/cgi-bin/WA-JISC.exe?SUBED1=CCP4BB&A=1 > > This message was issued to members of www.jiscmail.ac.uk/CCP4BB, a mailing > list hosted by www.jiscmail.ac.uk, terms & conditions are available at > https://www.jiscmail.ac.uk/policyandsecurity/ ######################################################################## To unsubscribe from the CCP4BB list, click the following link: https://www.jiscmail.ac.uk/cgi-bin/WA-JISC.exe?SUBED1=CCP4BB&A=1 This message was issued to members of www.jiscmail.ac.uk/CCP4BB, a mailing list hosted by www.jiscmail.ac.uk, terms & conditions are available at https://www.jiscmail.ac.uk/policyandsecurity/