How to extract multiple chains together using pdbsplit?

Issue #631 resolved
Former user created an issue

Hi I have a PDB files that contain 3 or more chains, say A, B C. I would like to get the AB chains together and do some calculation. So far I pdbsplit can only extract one specific chain, correct?

Comments (2)

  1. Xinqiu Yao

    If there is only one PDB, the best way is to use atomselect(). For example, atomselect(pdb, chain=c('A', 'B'), value=TRUE).

    By default, pdbsplit() splits and save all chains in separate files under split_chain/. You can specify what chains to save by the argument ids. See the related documentation for detail.

    Hope it helps.

  2. Log in to comment