Re: [COOT] NCS tools copy ncs residue range to a particular slave chain

2021-12-13 Thread Ahmad Khalifa
Thank you so much. It did work for me.

Cheers.

On Tue, Dec 7, 2021 at 6:06 AM Bernhard Lohkamp 
wrote:

>
> Hi Ahmad,
>
> > When I apply an ncs residue range from a master chain, it gets
> propagated to all
> > slave chains, but I want the change to propagate to only a particular
> chain,
> > without having to undo all the changes in the other chains!
> >
> > Alternatively, I wonder if there's a way to build a segment from a
> template that
> > could be a different chain in the same imol or from a different imol.
>
> You can use the corresponding scripting function (python or scheme; here
> python):
>
> copy_residue_range_from_ncs_master_to_chains (imol, master_chain_id,
>  residue_range_start,
> residue_range_end,
>  chain_id_list_in)
>
> chain_id_list_in is a python list (even if you copy only to one chain,
> e.g. ["B"]).
>
> HTH,
>
> B
>
> > Thank you.
> >
> > 
> >
> >
> > To unsubscribe from the COOT list, click the following link:
> > https://www.jiscmail.ac.uk/cgi-bin/WA-JISC.exe?SUBED1=COOT=1
> >  > iscmail.ac.uk%2Fcgi-bin%2FWA-
> > JISC.exe%3FSUBED1%3DCOOT%26A%3D1=04%7C01%7CBernhard.Lohk
> > amp%40KI.SE%7Ca672263d8d224ba67be408d9b9822824%7Cbff7eef1cf4b4f
> > 32be3da1dda043c05d%7C0%7C0%7C637744791089510245%7CUnknown%7
> > CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiL
> > CJXVCI6Mn0%3D%7C3000=ARPlOlt%2BOvaGvNkoMQxwg7H4CyKo5Wi
> > 2VX3LrTl38T8%3D=0>
>
> ***
>
> Dr. Bernhard Lohkamp | Associate Professor/Lektor/Docent
>
> Div. Molecular Structural Biology/Biomedicum D9
> Dept. of Medical Biochemistry and Biophysics (MBB) |
> Karolinska Institutet
> SE-171 77 Stockholm
> Sweden
> +46 8 52487055
> bernhard.lohk...@ki.se | ki.se
>
>
>
> När du skickar e-post till Karolinska Institutet (KI) innebär detta att KI
> kommer att behandla dina personuppgifter. Här finns information om hur KI
> behandlar personuppgifter<
> https://ki.se/medarbetare/integritetsskyddspolicy>.
>
>
> Sending email to Karolinska Institutet (KI) will result in KI processing
> your personal data. You can read more about KI’s processing of personal
> data here.
>



To unsubscribe from the COOT list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/WA-JISC.exe?SUBED1=COOT=1

This message was issued to members of www.jiscmail.ac.uk/COOT, a mailing list 
hosted by www.jiscmail.ac.uk, terms & conditions are available at 
https://www.jiscmail.ac.uk/policyandsecurity/


Re: [COOT] NCS tools copy ncs residue range to a particular slave chain

2021-12-07 Thread Bernhard Lohkamp

Hi Ahmad,

> When I apply an ncs residue range from a master chain, it gets propagated to 
> all
> slave chains, but I want the change to propagate to only a particular chain,
> without having to undo all the changes in the other chains!
>
> Alternatively, I wonder if there's a way to build a segment from a template 
> that
> could be a different chain in the same imol or from a different imol.

You can use the corresponding scripting function (python or scheme; here 
python):

copy_residue_range_from_ncs_master_to_chains (imol, master_chain_id,
 residue_range_start, 
residue_range_end,
 chain_id_list_in)

chain_id_list_in is a python list (even if you copy only to one chain, e.g. 
["B"]).

HTH,

B

> Thank you.
>
> 
>
>
> To unsubscribe from the COOT list, click the following link:
> https://www.jiscmail.ac.uk/cgi-bin/WA-JISC.exe?SUBED1=COOT=1
>  iscmail.ac.uk%2Fcgi-bin%2FWA-
> JISC.exe%3FSUBED1%3DCOOT%26A%3D1=04%7C01%7CBernhard.Lohk
> amp%40KI.SE%7Ca672263d8d224ba67be408d9b9822824%7Cbff7eef1cf4b4f
> 32be3da1dda043c05d%7C0%7C0%7C637744791089510245%7CUnknown%7
> CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiL
> CJXVCI6Mn0%3D%7C3000=ARPlOlt%2BOvaGvNkoMQxwg7H4CyKo5Wi
> 2VX3LrTl38T8%3D=0>

***

Dr. Bernhard Lohkamp | Associate Professor/Lektor/Docent

Div. Molecular Structural Biology/Biomedicum D9
Dept. of Medical Biochemistry and Biophysics (MBB) |
Karolinska Institutet
SE-171 77 Stockholm
Sweden
+46 8 52487055
bernhard.lohk...@ki.se | ki.se



När du skickar e-post till Karolinska Institutet (KI) innebär detta att KI 
kommer att behandla dina personuppgifter. Här finns information om hur KI 
behandlar personuppgifter.


Sending email to Karolinska Institutet (KI) will result in KI processing your 
personal data. You can read more about KI’s processing of personal data 
here.



To unsubscribe from the COOT list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/WA-JISC.exe?SUBED1=COOT=1

This message was issued to members of www.jiscmail.ac.uk/COOT, a mailing list 
hosted by www.jiscmail.ac.uk, terms & conditions are available at 
https://www.jiscmail.ac.uk/policyandsecurity/


Re: [COOT] NCS tools copy ncs residue range to a particular slave chain

2021-12-07 Thread Zeelen, Johan Philip
Use Edit > Copy Fragment to generate the part that you want to propagate.

Johan

On 7 Dec 2021, at 14:04, Ahmad Khalifa 
mailto:underoath...@gmail.com>> wrote:

When I apply an ncs residue range from a master chain, it gets propagated to 
all slave chains, but I want the change to propagate to only a particular 
chain, without having to undo all the changes in the other chains!

Alternatively, I wonder if there's a way to build a segment from a template 
that could be a different chain in the same imol or from a different imol.

Thank you.



To unsubscribe from the COOT list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/WA-JISC.exe?SUBED1=COOT=1




To unsubscribe from the COOT list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/WA-JISC.exe?SUBED1=COOT=1

This message was issued to members of www.jiscmail.ac.uk/COOT, a mailing list 
hosted by www.jiscmail.ac.uk, terms & conditions are available at 
https://www.jiscmail.ac.uk/policyandsecurity/