RepSequence¶
- class RepSequence(sequences, **kwargs)[source]¶
An essential class for handling feature sequence data.
Constructor for
RepSequence- Parameters
sequences (Union[str, pmaf.sequence._multiple._multiple.MultiSequence, pandas.core.frame.DataFrame, pandas.core.series.Series]) – Sequence data
kwargs (Any) – Compatibility
- Return type
Attributes
controllerActive essentials controller instance.
datapandas.DataFramewith sequence datais_buckledIs current essentials instance is mounted or not.
is_mountedTrue if current essentials instance is mounted or not.
metadataThe essential instance metadata.
nameThe essential instance name.
shapeReturn the shape/size of the essential instance.
xridFeature 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.Creates an instance of
MultiSequencecontaining sequences.