The PDB will only provide you with complete deposited files. You can’t download individual chains. The only way to do it is as you are doing, grab the deposited file and then parse it to get the chains….
Regards Gary -------------------------------------------------------------------- Dr Gary S Thompson NMR Facility Manager CCPN CoI & Working Group Member Wellcome Trust Biomolecular NMR Facility School of Biosciences, Faculty of Natural Sciences University of Kent, Canterbury, Kent, England, CT2 7NZ tel: 01227 82 7117 e-mail: g.s.thomp...@kent.ac.uk<mailto:g.s.thomp...@kent.ac.uk> orchid: orcid.org/0000-0001-9399-7636<https://urldefense.com/v3/__http:/orcid.org/0000-0001-9399-7636__;!!JFdNOqOXpB6UZW0!5pL_seJsFx0GRaDgwaLL0h3tmVktbehHKv07ZEZEcqZMKbC_s464UgFam-zmCFabTW0x$> -------------------------------------------------------------------- From: CCP4 bulletin board <CCP4BB@JISCMAIL.AC.UK> on behalf of Whitley, Matthew (NIH/NCI) [C] <0000a8ed4e9d4a1a-dmarc-requ...@jiscmail.ac.uk> Date: Thursday, 7 September 2023 at 17:17 To: CCP4BB@JISCMAIL.AC.UK <CCP4BB@JISCMAIL.AC.UK> Subject: [ccp4bb] Downloading individual chains from the PDB CAUTION: This email originated from outside of the organisation. Do not click links or open attachments unless you recognise the sender and know the content is safe. Hello all, I have a script I use from time to time to batch download multiple PDB files using curl. I have certain use cases in which I only need a specific chain from a PDB file that contains multiple chains. At present, I download the complete PDB file and then use pdbtools to pull out the specific chain I want. Does anyone know a way to batch download specific chains from the PDB? I reviewed the “File Download Services” page at the RCSB PDB, but I didn’t find anything about downloading specific chains, so I don’t know if this functionality exists. Thanks for your suggestions. Matthew ________________________________ 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/