RepSequence

class RepSequence(sequences, **kwargs)[source]

An essential class for handling feature sequence data.

Constructor for RepSequence

Parameters
Return type

None

Attributes

controller

Active essentials controller instance.

data

pandas.DataFrame with sequence data

is_buckled

Is current essentials instance is mounted or not.

is_mounted

True if current essentials instance is mounted or not.

metadata

The essential instance metadata.

name

The essential instance name.

shape

Return the shape/size of the essential instance.

xrid

Feature identifiers.

Methods

copy()

Copy of the instance.

export(output_fp, *args[, _add_ext])

Exports the FASTA sequences into the specified file.

get_feature_ids([dtype])

This function and its sample twin is a rescue method to fix RepPhylogeny index problem.

get_subset([rids])

Get subset of the RepSequence.

to_multiseq()

Creates an instance of MultiSequence containing sequences.