VMD-L Mailing List
From: Daniel Adrion (adrion.d_at_northeastern.edu)
Date: Sat Oct 29 2022 - 09:04:33 CDT
- Next message: Jérôme Hénin: "Re: helix orientation angle"
- Previous message: Bill McIntyre: "Re: Obtaining a list of surface exposed residues"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Hello,
I am trying to run a standard H-bonding analysis on a large set of trajectory data (500 frames each), and was wondering if there was a script that can be used to do so. I have been using the following to load the files and run the analysis, but it is only running it on the first trajectory file being loaded. I'm not sure how to walk through the files individually, and print separate output for all of them. I also tried to use the measure command to run through the files, but that didn't work either. I've attached the code I am trying to write below. Any help is appreciated. Thanks!
Best,
Daniel Adrion
for {set x 1} {$x <=295} {incr x} {
mol new [filename]-$x.md.xyz
}
for {set x 1} {$x <=295} {incr x} {
mol top [ expr $x-1 ]
set sel [atomselect top "not residue 0"]
set sel [atomselect top "index 3"]
hbonds -sel1 atomselect0 -sel2 atomselect1 -dist 3.1 -ang 25
}
- Next message: Jérôme Hénin: "Re: helix orientation angle"
- Previous message: Bill McIntyre: "Re: Obtaining a list of surface exposed residues"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]