-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathAminoAcid.cs
51 lines (46 loc) · 1.82 KB
/
AminoAcid.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
using System.Collections.Generic;
public class AminoAcid
{
public List<double> Tilt { get; set; }
public List<double> TiltfromStrand { get; set; }
public List<double> TiltfromBarrel { get; set; }
public List<double> Tilt_even { get; set; }
public List<double> TiltfromStrand_even { get; set; }
public List<double> TiltfromBarrel_even { get; set; }
public List<double> Tilt_odd { get; set; }
public List<double> TiltfromStrand_odd { get; set; }
public List<double> TiltfromBarrel_odd { get; set; }
public List<int> seqIDList { get; set; }
public List<List<double>> phiPsiList { get; set; }
public List<double> caThetaList { get; set; }
public List<double> Twist { get; set; }
public AminoAcid()
{
this.Tilt = new List<double>();
this.TiltfromStrand = new List<double>();
this.TiltfromBarrel = new List<double>();
this.Tilt_even = new List<double>();
this.TiltfromStrand_even = new List<double>();
this.TiltfromBarrel_even = new List<double>();
this.Tilt_odd = new List<double>();
this.TiltfromStrand_odd = new List<double>();
this.TiltfromBarrel_odd = new List<double>();
this.seqIDList = new List<int>();
this.phiPsiList = new List<List<double>>();
this.caThetaList = new List<double>();
this.Twist = new List<double>();
}
public List<double> GetProperty(string myString)
{
if (myString == "Tilt") return Tilt;
if (myString == "TiltfromStrand") return TiltfromStrand;
if (myString == "TiltfromBarrel") return TiltfromBarrel;
if (myString == "caThetaList") return caThetaList;
if (myString == "Twist") return Twist;
else
{
List<double> myList = new List<double>();
return myList;
}
}
}