public final class ParallelBiojavaPairwiseAlignment extends Object
DEFAULT_GLOBAL_GAP_PENALTIES, DEFAULT_LOCAL_GAP_PENALTIES
Modifier and Type | Method and Description |
---|---|
static PairwiseAlignment |
create()
Create and return a new pairwise alignment implementation configured with a cached thread pool and the default
substitution matrix (NUC.4.4.txt).
|
static PairwiseAlignment |
create(int threads)
Create and return a new pairwise alignment implementation configured with a fixed thread pool and the default
substitution matrix (NUC.4.4.txt).
|
static PairwiseAlignment |
create(int threads,
org.biojava.bio.alignment.SubstitutionMatrix substitutionMatrix)
Create and return a new pairwise alignment implementation configured with a fixed thread pool and the specified
substitution matrix.
|
static PairwiseAlignment |
create(org.biojava.bio.alignment.SubstitutionMatrix substitutionMatrix)
Create and return a new pairwise alignment implementation configured with a cached thread pool and the specified
substitution matrix.
|
org.biojava.bio.alignment.SubstitutionMatrix |
getSubstitutionMatrix()
Return the substitution matrix for this pairwise alignment.
|
Iterable<org.biojava.bio.alignment.AlignmentPair> |
global(List<org.biojava.bio.seq.Sequence> queries,
List<org.biojava.bio.seq.Sequence> subjects)
Return the alignment pairs from global alignment of the query and subject DNA sequences
with the default global alignment gap penalties.
|
Iterable<org.biojava.bio.alignment.AlignmentPair> |
global(List<org.biojava.bio.seq.Sequence> queries,
List<org.biojava.bio.seq.Sequence> subjects,
GapPenalties gapPenalties)
Return the alignment pairs from global alignment of the query and subject DNA sequences
with the specified gap penalties.
|
Iterable<org.biojava.bio.alignment.AlignmentPair> |
global(org.biojava.bio.seq.Sequence query,
List<org.biojava.bio.seq.Sequence> subjects)
Return the alignment pairs from global alignment of the query and subject DNA sequences
with the default global alignment gap penalties.
|
Iterable<org.biojava.bio.alignment.AlignmentPair> |
global(org.biojava.bio.seq.Sequence query,
List<org.biojava.bio.seq.Sequence> subjects,
GapPenalties gapPenalties)
Return the alignment pairs from global alignment of the query and subject DNA sequences
with the specified gap penalties.
|
Iterable<org.biojava.bio.alignment.AlignmentPair> |
global(org.biojava.bio.seq.Sequence query,
org.biojava.bio.seq.Sequence subject)
Return the alignment pairs from global alignment of the query and subject DNA sequences
with the default global alignment gap penalties.
|
Iterable<org.biojava.bio.alignment.AlignmentPair> |
global(org.biojava.bio.seq.Sequence query,
org.biojava.bio.seq.Sequence subject,
GapPenalties gapPenalties)
Return the alignment pairs from global alignment of the query and subject DNA sequences
with the specified gap penalties.
|
Iterable<org.biojava.bio.alignment.AlignmentPair> |
local(List<org.biojava.bio.seq.Sequence> queries,
List<org.biojava.bio.seq.Sequence> subjects)
Return the alignment pairs from local alignment of the query and subject DNA sequences
with the default local alignment gap penalties.
|
Iterable<org.biojava.bio.alignment.AlignmentPair> |
local(List<org.biojava.bio.seq.Sequence> queries,
List<org.biojava.bio.seq.Sequence> subjects,
GapPenalties gapPenalties)
Return the alignment pairs from local alignment of the query and subject DNA sequences
with the specified gap penalties.
|
Iterable<org.biojava.bio.alignment.AlignmentPair> |
local(org.biojava.bio.seq.Sequence query,
List<org.biojava.bio.seq.Sequence> subjects)
Return the alignment pairs from local alignment of the query and subject DNA sequences
with the default local alignment gap penalties.
|
Iterable<org.biojava.bio.alignment.AlignmentPair> |
local(org.biojava.bio.seq.Sequence query,
List<org.biojava.bio.seq.Sequence> subjects,
GapPenalties gapPenalties)
Return the alignment pairs from local alignment of the query and subject DNA sequences
with the specified gap penalties.
|
Iterable<org.biojava.bio.alignment.AlignmentPair> |
local(org.biojava.bio.seq.Sequence query,
org.biojava.bio.seq.Sequence subject)
Return the alignment pairs from local alignment of the query and subject DNA sequences
with the default local alignment gap penalties.
|
Iterable<org.biojava.bio.alignment.AlignmentPair> |
local(org.biojava.bio.seq.Sequence query,
org.biojava.bio.seq.Sequence subject,
GapPenalties gapPenalties)
Return the alignment pairs from local alignment of the query and subject DNA sequences
with the specified gap penalties.
|
public Iterable<org.biojava.bio.alignment.AlignmentPair> local(List<org.biojava.bio.seq.Sequence> queries, List<org.biojava.bio.seq.Sequence> subjects, GapPenalties gapPenalties)
PairwiseAlignment
queries
- list of query DNA sequences, must not be nullsubjects
- list of subject DNA sequences, must not be nullgapPenalties
- gap penalties, must not be nullpublic Iterable<org.biojava.bio.alignment.AlignmentPair> global(List<org.biojava.bio.seq.Sequence> queries, List<org.biojava.bio.seq.Sequence> subjects, GapPenalties gapPenalties)
PairwiseAlignment
queries
- list of query DNA sequences, must not be nullsubjects
- list of subject DNA sequences, must not be nullgapPenalties
- gap penalties, must not be nullpublic static PairwiseAlignment create()
public static PairwiseAlignment create(int threads)
threads
- number of threads, must be >= 0
public static PairwiseAlignment create(org.biojava.bio.alignment.SubstitutionMatrix substitutionMatrix)
substitutionMatrix
- substitution matrix, must not be nullpublic static PairwiseAlignment create(int threads, org.biojava.bio.alignment.SubstitutionMatrix substitutionMatrix)
threads
- number of threads, must be >= 0
substitutionMatrix
- substitution matrix, must not be nullpublic final org.biojava.bio.alignment.SubstitutionMatrix getSubstitutionMatrix()
public Iterable<org.biojava.bio.alignment.AlignmentPair> local(org.biojava.bio.seq.Sequence query, org.biojava.bio.seq.Sequence subject)
PairwiseAlignment
local
in interface PairwiseAlignment
query
- query DNA sequence, must not be nullsubject
- subject DNA sequence, must not be nullPairwiseAlignment.DEFAULT_LOCAL_GAP_PENALTIES
public Iterable<org.biojava.bio.alignment.AlignmentPair> local(org.biojava.bio.seq.Sequence query, org.biojava.bio.seq.Sequence subject, GapPenalties gapPenalties)
PairwiseAlignment
local
in interface PairwiseAlignment
query
- query DNA sequence, must not be nullsubject
- subject DNA sequence, must not be nullgapPenalties
- gap penalties, must not be nullpublic Iterable<org.biojava.bio.alignment.AlignmentPair> local(org.biojava.bio.seq.Sequence query, List<org.biojava.bio.seq.Sequence> subjects)
PairwiseAlignment
local
in interface PairwiseAlignment
query
- query DNA sequence, must not be nullsubjects
- list of subject DNA sequences, must not be nullPairwiseAlignment.DEFAULT_LOCAL_GAP_PENALTIES
public Iterable<org.biojava.bio.alignment.AlignmentPair> local(org.biojava.bio.seq.Sequence query, List<org.biojava.bio.seq.Sequence> subjects, GapPenalties gapPenalties)
PairwiseAlignment
local
in interface PairwiseAlignment
query
- query DNA sequence, must not be nullsubjects
- list of subject DNA sequences, must not be nullgapPenalties
- gap penalties, must not be nullpublic Iterable<org.biojava.bio.alignment.AlignmentPair> local(List<org.biojava.bio.seq.Sequence> queries, List<org.biojava.bio.seq.Sequence> subjects)
PairwiseAlignment
local
in interface PairwiseAlignment
queries
- list of query DNA sequences, must not be nullsubjects
- list of subject DNA sequences, must not be nullPairwiseAlignment.DEFAULT_LOCAL_GAP_PENALTIES
public Iterable<org.biojava.bio.alignment.AlignmentPair> global(org.biojava.bio.seq.Sequence query, org.biojava.bio.seq.Sequence subject)
PairwiseAlignment
global
in interface PairwiseAlignment
query
- query DNA sequence, must not be nullsubject
- subject DNA sequence, must not be nullPairwiseAlignment.DEFAULT_LOCAL_GAP_PENALTIES
public Iterable<org.biojava.bio.alignment.AlignmentPair> global(org.biojava.bio.seq.Sequence query, org.biojava.bio.seq.Sequence subject, GapPenalties gapPenalties)
PairwiseAlignment
global
in interface PairwiseAlignment
query
- query DNA sequence, must not be nullsubject
- subject DNA sequence, must not be nullgapPenalties
- gap penalties, must not be nullpublic Iterable<org.biojava.bio.alignment.AlignmentPair> global(org.biojava.bio.seq.Sequence query, List<org.biojava.bio.seq.Sequence> subjects)
PairwiseAlignment
global
in interface PairwiseAlignment
query
- query DNA sequence, must not be nullsubjects
- list of subject DNA sequences, must not be nullPairwiseAlignment.DEFAULT_GLOBAL_GAP_PENALTIES
public Iterable<org.biojava.bio.alignment.AlignmentPair> global(org.biojava.bio.seq.Sequence query, List<org.biojava.bio.seq.Sequence> subjects, GapPenalties gapPenalties)
PairwiseAlignment
global
in interface PairwiseAlignment
query
- query DNA sequence, must not be nullsubjects
- list of subject DNA sequences, must not be nullgapPenalties
- gap penalties, must not be nullpublic Iterable<org.biojava.bio.alignment.AlignmentPair> global(List<org.biojava.bio.seq.Sequence> queries, List<org.biojava.bio.seq.Sequence> subjects)
PairwiseAlignment
global
in interface PairwiseAlignment
queries
- list of query DNA sequences, must not be nullsubjects
- list of subject DNA sequences, must not be nullPairwiseAlignment.DEFAULT_GLOBAL_GAP_PENALTIES
Copyright © 2014–2015. All rights reserved.