3 using System.Collections.Generic;
35 if(calist.Count > 2) {
38 for(
int i=1;i<residlist.Count;i++){
40 if(atomsNameList[i] ==
"CA"){
41 if((atomsNameList[i-1] == atomsNameList[i]) && (residlist[i-1] == residlist[i])){
43 caChainlist.RemoveAt(j);
61 for (
int k=0; k<calist.Count; k++)
static List< int[]> CreateBondsList_HiRERNA(List< string > atomnames)
static List< int[]> bondCAList
The bonds between carbon alpha in the CA-Spline.
static List< int[]> CreateBondsCAList(List< string > caChainlist)
Creates a bond list for the carbon alpha splines.
static AtomModel GetModel(string type)
static List< int[]> CreateBondsEPList(List< float[]> atomsLocationlist, List< AtomModel > atomsTypelist)
static List< string > atomsNamelist
The name of each atom.
static List< AtomModel > atomsTypelist
The type of each atom.
List< float[]> InputKeyNodes
void CalculateSplineArray()
static List< int > residueIds
The residue identifiers.
static List< float[]> CatomsLocationlist
The coordinates of each Carbon alpha.
List< string > OutputTypeArray
static List< string > backupCaSplineChainList
Sometimes inside pdbs lists are not sorted, and residues mixed So I had to create this list to sort r...
static List< float[]> CaSplineList
The coordinates of each Carbon alpha in the CA-Spline.
!WiP Includes FLAGS of GUI.
static List< float[]> backupCaList
static List< string > CaSplineChainList
The chain of each carbon alpha in the CA-Spline.
static List< int[]> bondEPList
The bonds between atoms.
List< string > InputTypeArray
static List< string > backupCaChainList
static void ReSpline()
Trace interpolation points from C-alpha positions.
static List< AtomModel > CaSplineTypeList
Type of each carbon alpha in the CA-Spline.
List< float[]> OutputKeyNodes
static List< float[]> atomsLocationlist
The coordinates of each atom.