C# Class LibiadaWeb.Models.SubsequenceImporter

The subsequence importer.
Inheritance: IDisposable
Show file Open project: intervals-mining-lab/libiada-web Class Usage Examples

Public Methods

Method Description
CreateSubsequences ( ) : void

Adds all subsequences of given sequence to database.

Dispose ( ) : void

The dispose.

SubsequenceImporter ( List features, long sequenceId ) : System

Initializes a new instance of the SubsequenceImporter class.

Private Methods

Method Description
AddPositionToMap ( int start, int end ) : void

The add position to map.

CheckImportability ( ) : void

Checks importability of subsequences.

CheckPartial ( List leafLocations ) : bool

The check partial.

CreateFeatureSubsequences ( ) : void

Create subsequences from features and noncoding subsequences from gaps.

CreateNonCodingSubsequences ( ) : List

Creates non coding subsequences.

ExtractNonCodingSubsequencesPositions ( ) : List[]

Extracts non coding subsequences positions from filled positions map.

LocationsEqual ( List geneLocation, List otherLocation ) : bool

Checks if gene have equal location with another feature.

Method Details

CreateSubsequences() public method

Adds all subsequences of given sequence to database.
/// Thrown if error occurs during importability check. ///
public CreateSubsequences ( ) : void
return void

Dispose() public method

The dispose.
public Dispose ( ) : void
return void

SubsequenceImporter() public method

Initializes a new instance of the SubsequenceImporter class.
public SubsequenceImporter ( List features, long sequenceId ) : System
features List /// The features. ///
sequenceId long /// The sequence id. ///
return System