C# Class LibiadaWeb.Models.SubsequenceExtractor

The subsequence extractor.
Exibir arquivo Open project: intervals-mining-lab/libiada-web Class Usage Examples

Public Methods

Method Description
ExtractChains ( Subsequence subsequences, long chainId ) : LibiadaCore.Core.Chain[]

The extract chains.

GetSubsequences ( long sequenceId, IEnumerable featureIds ) : Subsequence[]

The extract sequences.

GetSubsequences ( long sequenceId, IEnumerable featureIds, string filters ) : Subsequence[]

Extracts only filtered subsequences.

SubsequenceExtractor ( LibiadaWebEntities db ) : System.Collections.Generic

Initializes a new instance of the SubsequenceExtractor class.

Private Methods

Method Description
ExtractJoinedSubsequence ( Bio.Sequence sourceSequence, Subsequence subsequence ) : Chain

Extracts joined subsequence.

ExtractJoinedSubsequenceWithComplement ( Bio.Sequence sourceSequence, Subsequence subsequence ) : Chain

Extracts joined subsequence with complement flag.

ExtractJoinedSubsequenceWithoutComplement ( Bio.Sequence sourceSequence, Subsequence subsequence ) : Chain

Extracts joined subsequence without complement flag.

ExtractSimpleSubsequence ( Bio.Sequence sourceSequence, Subsequence subsequence ) : Chain

Extracts subsequence without joins (additional positions).

Method Details

ExtractChains() public method

The extract chains.
public ExtractChains ( Subsequence subsequences, long chainId ) : LibiadaCore.Core.Chain[]
subsequences Subsequence /// The subsequences. ///
chainId long /// The sequence id. ///
return LibiadaCore.Core.Chain[]

GetSubsequences() public method

The extract sequences.
public GetSubsequences ( long sequenceId, IEnumerable featureIds ) : Subsequence[]
sequenceId long /// The sequence id. ///
featureIds IEnumerable /// The feature ids. ///
return Subsequence[]

GetSubsequences() public method

Extracts only filtered subsequences.
public GetSubsequences ( long sequenceId, IEnumerable featureIds, string filters ) : Subsequence[]
sequenceId long /// Sequences id. ///
featureIds IEnumerable /// Subsequences features. ///
filters string /// Filters for the subsequences. /// Filters are applied in "OR" logic (if subseqence corresponds to any filter it is added to calculation). ///
return Subsequence[]

SubsequenceExtractor() public method

Initializes a new instance of the SubsequenceExtractor class.
public SubsequenceExtractor ( LibiadaWebEntities db ) : System.Collections.Generic
db LibiadaWebEntities /// The db. ///
return System.Collections.Generic