Skip to content

Commit 3a3eb0f

Browse files
Gwaldonandreasprlic
authored andcommitted
update to 1.8
1 parent 007def9 commit 3a3eb0f

2 files changed

Lines changed: 13 additions & 13 deletions

File tree

wiki/BioJava:Cookbook:Alphabets:CrossProduct.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,29 @@ How do I make a CrossProductAlphabet such as a codon Alphabet
66
-------------------------------------------------------------
77

88
CrossProductAlphabets result from the multiplication of other
9-
[Alphabets](http://www.biojava.org/docs/api14/org/biojava/bio/symbol/Alphabet.html).
9+
[Alphabets](http://www.biojava.org/docs/api1.8/org/biojava/bio/symbol/Alphabet.html).
1010
CrossProductAlphabets are used to wrap up 2 or more
11-
[Symbols](http://www.biojava.org/docs/api14/org/biojava/bio/symbol/Symbol.html)into
11+
[Symbols](http://www.biojava.org/docs/api1.8/org/biojava/bio/symbol/Symbol.html)into
1212
a single "cross product"
13-
[Symbol](http://www.biojava.org/docs/api14/org/biojava/bio/symbol/Symbol.html).
13+
[Symbol](http://www.biojava.org/docs/api1.8/org/biojava/bio/symbol/Symbol.html).
1414
For example using a 3 way cross of the [DNA](wp:DNA "wikilink") alphabet
1515
you could wrap a [codon](wp:codon "wikilink") as a
16-
[Symbol](http://www.biojava.org/docs/api14/org/biojava/bio/symbol/Symbol.html).
16+
[Symbol](http://www.biojava.org/docs/api1.8/org/biojava/bio/symbol/Symbol.html).
1717
You could then count those [codon](wp:codon "wikilink")
18-
[Symbols](http://www.biojava.org/docs/api14/org/biojava/bio/symbol/Symbol.html)
18+
[Symbols](http://www.biojava.org/docs/api1.8/org/biojava/bio/symbol/Symbol.html)
1919
in a
20-
[Count](http://www.biojava.org/docs/api14/org/biojava/bio/dist/Count.html)
20+
[Count](http://www.biojava.org/docs/api1.8/org/biojava/bio/dist/Count.html)
2121
or you could used them in a
22-
[Distribution](http://www.biojava.org/docs/api14/org/biojava/bio/dist/Distribution.html).
22+
[Distribution](http://www.biojava.org/docs/api1.8/org/biojava/bio/dist/Distribution.html).
2323

2424
CrossProductAlphabets can be created by name (if the component
25-
[Alphabets](http://www.biojava.org/docs/api14/org/biojava/bio/symbol/Alphabet.html)
25+
[Alphabets](http://www.biojava.org/docs/api1.8/org/biojava/bio/symbol/Alphabet.html)
2626
are registered in the
27-
[AlphabetManager](http://www.biojava.org/docs/api14/org/biojava/bio/symbol/AlphabetManager.html))
27+
[AlphabetManager](http://www.biojava.org/docs/api1.8/org/biojava/bio/symbol/AlphabetManager.html))
2828
or by making a list of the desired
29-
[Alphabets](http://www.biojava.org/docs/api14/org/biojava/bio/symbol/Alphabet.html)
29+
[Alphabets](http://www.biojava.org/docs/api1.8/org/biojava/bio/symbol/Alphabet.html)
3030
and creating the
31-
[Alphabet](http://www.biojava.org/docs/api14/org/biojava/bio/symbol/Alphabet.html)
31+
[Alphabet](http://www.biojava.org/docs/api1.8/org/biojava/bio/symbol/Alphabet.html)
3232
from the
3333
[List](http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html).
3434
Both approaches are shown in the example below.

wiki/BioJava:Cookbook:Alphabets:CrossProduct.mediawiki

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
== How do I make a CrossProductAlphabet such as a codon Alphabet ==
22

3-
CrossProductAlphabets result from the multiplication of other [http://www.biojava.org/docs/api14/org/biojava/bio/symbol/Alphabet.html Alphabets]. CrossProductAlphabets are used to wrap up 2 or more [http://www.biojava.org/docs/api14/org/biojava/bio/symbol/Symbol.html Symbols]into a single "cross product" [http://www.biojava.org/docs/api14/org/biojava/bio/symbol/Symbol.html Symbol]. For example using a 3 way cross of the [[wp:DNA|DNA]] alphabet you could wrap a [[wp:codon|codon]] as a [http://www.biojava.org/docs/api14/org/biojava/bio/symbol/Symbol.html Symbol]. You could then count those [[wp:codon|codon]] [http://www.biojava.org/docs/api14/org/biojava/bio/symbol/Symbol.html Symbols] in a [http://www.biojava.org/docs/api14/org/biojava/bio/dist/Count.html Count] or you could used them in a [http://www.biojava.org/docs/api14/org/biojava/bio/dist/Distribution.html Distribution].
3+
CrossProductAlphabets result from the multiplication of other [http://www.biojava.org/docs/api1.8/org/biojava/bio/symbol/Alphabet.html Alphabets]. CrossProductAlphabets are used to wrap up 2 or more [http://www.biojava.org/docs/api1.8/org/biojava/bio/symbol/Symbol.html Symbols]into a single "cross product" [http://www.biojava.org/docs/api1.8/org/biojava/bio/symbol/Symbol.html Symbol]. For example using a 3 way cross of the [[wp:DNA|DNA]] alphabet you could wrap a [[wp:codon|codon]] as a [http://www.biojava.org/docs/api1.8/org/biojava/bio/symbol/Symbol.html Symbol]. You could then count those [[wp:codon|codon]] [http://www.biojava.org/docs/api1.8/org/biojava/bio/symbol/Symbol.html Symbols] in a [http://www.biojava.org/docs/api1.8/org/biojava/bio/dist/Count.html Count] or you could used them in a [http://www.biojava.org/docs/api1.8/org/biojava/bio/dist/Distribution.html Distribution].
44

5-
CrossProductAlphabets can be created by name (if the component [http://www.biojava.org/docs/api14/org/biojava/bio/symbol/Alphabet.html Alphabets] are registered in the [http://www.biojava.org/docs/api14/org/biojava/bio/symbol/AlphabetManager.html AlphabetManager]) or by making a list of the desired [http://www.biojava.org/docs/api14/org/biojava/bio/symbol/Alphabet.html Alphabets] and creating the [http://www.biojava.org/docs/api14/org/biojava/bio/symbol/Alphabet.html Alphabet] from the [http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html List]. Both approaches are shown in the example below.
5+
CrossProductAlphabets can be created by name (if the component [http://www.biojava.org/docs/api1.8/org/biojava/bio/symbol/Alphabet.html Alphabets] are registered in the [http://www.biojava.org/docs/api1.8/org/biojava/bio/symbol/AlphabetManager.html AlphabetManager]) or by making a list of the desired [http://www.biojava.org/docs/api1.8/org/biojava/bio/symbol/Alphabet.html Alphabets] and creating the [http://www.biojava.org/docs/api1.8/org/biojava/bio/symbol/Alphabet.html Alphabet] from the [http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html List]. Both approaches are shown in the example below.
66

77
<java>
88
package biojava_in_anger;

0 commit comments

Comments
 (0)