JAligner

jaligner.test
Class RandomSequenceGenerator

java.lang.Object
  extended byjaligner.test.RandomSequenceGenerator

public class RandomSequenceGenerator
extends java.lang.Object

This class contains a random generator for protein sequences.

Author:
Bram Minnaert

Constructor Summary
RandomSequenceGenerator()
           
 
Method Summary
static java.lang.String generate(int length)
          Returns random sequence
static void main(java.lang.String[] args)
          Displays 10 random protein sequences with length 50.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RandomSequenceGenerator

public RandomSequenceGenerator()
Method Detail

generate

public static java.lang.String generate(int length)
Returns random sequence

Parameters:
length - Size of the sequence
Returns:
Random sequence

main

public static void main(java.lang.String[] args)
Displays 10 random protein sequences with length 50.

Parameters:
args - no args

JAligner

Ahmed Moustafa (ahmed@users.sf.net)SourceForge.net
The source code of JAligner is licensed under The GNU General Public License (GPL)