You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _wikis/BioJava:Cookbook:Alphabets:Custom.mediawiki
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
== How do I make a custom Alphabet from custom Symbols? ==
2
2
3
-
This example demonstrates the creation of a 'binary' alphabet that will have two [http://www.biojava.org/docs/api14/org/biojava/bio/symbol/Symbol.html Symbols], zero and one. The custom made [http://www.biojava.org/docs/api14/org/biojava/bio/symbol/Symbol.html Symbols] and [http://www.biojava.org/docs/api14/org/biojava/bio/symbol/Alphabet.html Alphabet] can then be used to make [http://www.biojava.org/docs/api14/org/biojava/bio/symbol/SymbolList.html SymbolList], [http://www.biojava.org/docs/api14/org/biojava/bio/seq/Sequence.html Sequences], [http://www.biojava.org/docs/api14/org/biojava/bio/dist/Distribution.html Distributions], etc.
3
+
This example demonstrates the creation of a 'binary' alphabet that will have two [http://www.biojava.org/docs/api15/org/biojava/bio/symbol/Symbol.html Symbols], zero and one. The custom made [http://www.biojava.org/docs/api15/org/biojava/bio/symbol/Symbol.html Symbols] and [http://www.biojava.org/docs/api15/org/biojava/bio/symbol/Alphabet.html Alphabet] can then be used to make [http://www.biojava.org/docs/api15/org/biojava/bio/symbol/SymbolList.html SymbolList], [http://www.biojava.org/docs/api15/org/biojava/bio/seq/Sequence.html Sequences], [http://www.biojava.org/docs/api15/org/biojava/bio/dist/Distribution.html Distributions], etc.
4
4
5
5
<java>
6
6
import org.biojava.bio.symbol.*;
@@ -31,7 +31,7 @@ public class Binary {
31
31
System.out.println(sym.getName());
32
32
}
33
33
34
-
//it is usual to register newly creates Alphabets with the AlphabetManager
34
+
//it is usual to register newly created Alphabets with the AlphabetManager
0 commit comments