File: node10.html

package info (click to toggle)
melting 5.2.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 21,836 kB
  • sloc: java: 12,710; xml: 8,395; perl: 1,581; sh: 112; makefile: 4
file content (161 lines) | stat: -rw-r--r-- 5,405 bytes parent folder | download | duplicates (3)
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<!--Converted with LaTeX2HTML 2002-2-1 (1.71)
original version by:  Nikos Drakos, CBLU, University of Leeds
* revised and updated by:  Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
  Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<HTML>
<HEAD>
<TITLE>How to add new nucleic acids</TITLE>
<META NAME="description" CONTENT="How to add new nucleic acids">
<META NAME="keywords" CONTENT="DeveloppersGuide">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">

<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="LaTeX2HTML v2002-2-1">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">

<LINK REL="STYLESHEET" HREF="DeveloppersGuide.css">

<LINK REL="next" HREF="node11.html">
<LINK REL="previous" HREF="node9.html">
<LINK REL="up" HREF="DeveloppersGuide.html">
<LINK REL="next" HREF="node11.html">
</HEAD>

<BODY >

<DIV CLASS="navigation"><!--Navigation Panel-->
<A NAME="tex2html172"
  HREF="node11.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
 SRC="/usr/share/latex2html/icons/next.png"></A> 
<A NAME="tex2html168"
  HREF="DeveloppersGuide.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
 SRC="/usr/share/latex2html/icons/up.png"></A> 
<A NAME="tex2html162"
  HREF="node9.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
 SRC="/usr/share/latex2html/icons/prev.png"></A> 
<A NAME="tex2html170"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
 SRC="/usr/share/latex2html/icons/contents.png"></A>  
<BR>
<B> Next:</B> <A NAME="tex2html173"
  HREF="node11.html">How to add new</A>
<B> Up:</B> <A NAME="tex2html169"
  HREF="DeveloppersGuide.html">MELTING - development guide</A>
<B> Previous:</B> <A NAME="tex2html163"
  HREF="node9.html">How to create a</A>
 &nbsp; <B>  <A NAME="tex2html171"
  HREF="node1.html">Contents</A></B> 
<BR>
<BR></DIV>
<!--End of Navigation Panel-->

<H1><A NAME="SECTION00070000000000000000">
How to add new nucleic acids</A>
</H1>

<P>
<SPAN  CLASS="textbf">1)</SPAN> Add the name to the new nucleic acid in the SpecificAcidNames enum in the melting.sequences
package :

<P>
<PRE>
public enum SpecificAcidNames {

	inosine, lockedNucleicAcid, hydroxyadenine, azobenzene, 
	newNucleicAcidName
}
</PRE>

<P>
<SPAN  CLASS="textbf">2)</SPAN> Register the new nucleic acid syntax in the ArrayList <SPAN  CLASS="textit">existingNucleicAcids</SPAN>
of BasePair in the melting.sequences package. You just have to add the following line
into the method <SPAN  CLASS="textit">public static void initialiseNucleicAcidList()</SPAN> of BasePair :

<P>
<PRE>
/**
* initialises the ArrayList existingNucleicAcids of the 
* BasePair class.
*/
	public static void initialiseNucleicAcidList(){
		[...] 
		
		// You have to choose a syntax (String representation) 
		// of the new nucleic acid in the String sequence.
		// It is this syntax which will be recognized by the 
		// program when it analyzes the sequences.
		existingNucleicAcids.add("newAcid-syntax");
	}
</PRE>

<P>
<SPAN  CLASS="textbf">3)</SPAN> Create a relationship between the nucleic acid syntax in the ArrayList 
<SPAN  CLASS="textit">existingNucleicAcids</SPAN> of BasePair and the
nucleic acid name registered in the SpecificAcidNames enum. You have to add
the following line into the method <SPAN  CLASS="textit">public static void initialiseModifiedAcidHashmap()</SPAN>
of NucleotidSequences in the melting.sequences package :

<P>
<PRE>
/**
* initialises the HasMap modifiedAcidNames of the 
* NucleotiSequences class.
*/
	public static void initialiseModifiedAcidHashmap(){
		[...]
		
		modifiedAcidNames.put("newAcid-syntax", 
		    SpecificAcidNames.newNucleicAcidName);
	}
</PRE>

<P>
<SPAN  CLASS="textbf">4)</SPAN> Create a new class to manage the computation of the new nucleic acid as it is
explained in the section <SPAN  CLASS="textit">How to add new thermodynamic model</SPAN>. (a new nucleic
acid is considered as a new structure in the computation of the enthalpy and entropy of
the Crick's pair containing the new nucleic acid.)

<P>

<DIV CLASS="navigation"><HR>
<!--Navigation Panel-->
<A NAME="tex2html172"
  HREF="node11.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
 SRC="/usr/share/latex2html/icons/next.png"></A> 
<A NAME="tex2html168"
  HREF="DeveloppersGuide.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
 SRC="/usr/share/latex2html/icons/up.png"></A> 
<A NAME="tex2html162"
  HREF="node9.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
 SRC="/usr/share/latex2html/icons/prev.png"></A> 
<A NAME="tex2html170"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
 SRC="/usr/share/latex2html/icons/contents.png"></A>  
<BR>
<B> Next:</B> <A NAME="tex2html173"
  HREF="node11.html">How to add new</A>
<B> Up:</B> <A NAME="tex2html169"
  HREF="DeveloppersGuide.html">MELTING - development guide</A>
<B> Previous:</B> <A NAME="tex2html163"
  HREF="node9.html">How to create a</A>
 &nbsp; <B>  <A NAME="tex2html171"
  HREF="node1.html">Contents</A></B> </DIV>
<!--End of Navigation Panel-->
<ADDRESS>
Computational Neurobiology
2009-08-24
</ADDRESS>
</BODY>
</HTML>