Uses of Class
de.jstacs.data.WrongLengthException

Packages that use WrongLengthException
de.jstacs.data Provides classes for the representation of data. 
de.jstacs.motifDiscovery This package provides the framework including the interface for any de novo motif discoverer 
de.jstacs.scoringFunctions.mix.motifSearch   
 

Uses of WrongLengthException in de.jstacs.data
 

Methods in de.jstacs.data that throw WrongLengthException
 int Sequence.getHammingDistance(Sequence seq)
          This method returns the Hamming distance between the current Sequence.CompositeSequence and seq.
 int Sample.getNumberOfElementsWithLength(int len)
          Returns the number of overlapping elements that can be extracted.
 double Sample.getNumberOfElementsWithLength(int len, double[] weights)
          Returns the weighted number of overlapping elements that can be extracted.
 Sample[] Sample.partition(double p, Sample.PartitionMethod method, int subsequenceLength)
          This method partitions the elements, i.e. the Sequences, of the Sample in two distinct parts.
static Sample Sample.union(Sample[] s, boolean[] in, int subsequenceLength)
          This method unites all Samples of the array s regarding the array in and sets the element length in the united Sample to subsequenceLength.
static Sample Sample.union(Sample[] s, int subsequenceLength)
          This method unites all Samples of the array s and sets the element length in the united sample to subsequenceLength.
 

Constructors in de.jstacs.data that throw WrongLengthException
DNASample(String fName)
          Creates a new sample of DNA sequence from a FASTA file with file name fName.
DNASample(String fName, char ignore)
          Creates a new sample of DNA sequence from a file with file name fName.
DNASample(String fName, char ignore, SequenceAnnotationParser parser)
          Creates a new sample of DNA sequence from a file with file name fName using the given parser.
Sample.WeightedSampleFactory(Sample.WeightedSampleFactory.SortOperation sort, Sample... data)
          Creates a new Sample.WeightedSampleFactory on the given Sample(s) with Sample.WeightedSampleFactory.SortOperation sort.
Sample.WeightedSampleFactory(Sample.WeightedSampleFactory.SortOperation sort, Sample[] data, double[][] weights, int length)
          Creates a new Sample.WeightedSampleFactory on the given array of Samples and an array of weights with a given length and Sample.WeightedSampleFactory.SortOperation sort.
Sample.WeightedSampleFactory(Sample.WeightedSampleFactory.SortOperation sort, Sample data, double[] weights)
          Creates a new Sample.WeightedSampleFactory on the given Sample and an array of weights with Sample.WeightedSampleFactory.SortOperation sort.
Sample.WeightedSampleFactory(Sample.WeightedSampleFactory.SortOperation sort, Sample data, double[] weights, int length)
          Creates a new Sample.WeightedSampleFactory on the given Sample and an array of weights with a given length and Sample.WeightedSampleFactory.SortOperation sort.
Sample(AlphabetContainer abc, AbstractStringExtractor se)
          Creates a new Sample from a StringExtractor using the given AlphabetContainer.
Sample(AlphabetContainer abc, AbstractStringExtractor se, int subsequenceLength)
          Creates a new Sample from a StringExtractor using the given AlphabetContainer and all overlapping windows of length subsequenceLength.
Sample(AlphabetContainer abc, AbstractStringExtractor se, String delim)
          Creates a new Sample from a StringExtractor using the given AlphabetContainer and a delimiter delim.
Sample(AlphabetContainer abc, AbstractStringExtractor se, String delim, int subsequenceLength)
          Creates a new Sample from a StringExtractor using the given AlphabetContainer, the given delimiter delim and all overlapping windows of length subsequenceLength.
Sample(Sample s, int subsequenceLength)
          Creates a new Sample from a given Sample and a given length subsequenceLength.
 

Uses of WrongLengthException in de.jstacs.motifDiscovery
 

Methods in de.jstacs.motifDiscovery that throw WrongLengthException
static Hashtable<Sequence,BitSet[]> KMereStatistic.merge(Hashtable<Sequence,BitSet[]> statistic, int maximalMissmatch, boolean bothStrands)
          This method allows to merge the statistics of k-mers by allowing mismatches.
 

Uses of WrongLengthException in de.jstacs.scoringFunctions.mix.motifSearch
 

Methods in de.jstacs.scoringFunctions.mix.motifSearch that throw WrongLengthException
 double[] HiddenMotifsMixture.getProfileOfScoresFor(int component, int motif, Sequence sequence, int startpos, MotifDiscoverer.KindOfProfile dist)