probably csplit do the job (with some abracadabra regexp).
http://linux.die.net/man/1/csplit
Michal
On Sat, Apr 02, 2016 at 05:49:35PM +0200, Gert Vriend wrote:
>
>
>On 2-4-2016 11:10, Smith Liu wrote:
>>Dear All,
>>
>>Suppose I have a pdb for a protein containing 12 identical chains,
>>with each chain containing 1000 residues (Resi 1-1000). Is any
>>server or software available by which I can save a pdb containing
>>all above 12 chains but with each chain only containing the
>>coordinates for resi 1-500?
>I guess each program that can read so many residues can write any
>subset of them, but why would you want to write only a few residues?
>The WHAT IF servers refuse to read such big files, simply to not
>overload the poor little PC that runs the servers, but WHAT IF itself
>could do it. But then I would guess nearly all molecular softwares
>today to be able to do it (after a bit of RTFM)
>
>Gert
>>
>>Smith
>>
>>
>>
>>
>
|