Previous Up Next

class Lsequence



module lsequence

The documentation is here.

A Lsequence is simply a list of Sequences, and used for calculation of Lpartitions.

As it inherits of list, it has all the methods of list.

Construction

__init__
Optional keyword fic allows construction by reading a file of Sequences in FASTA format;
read_nf
appends to the list the Sequences in the file of given name, in FASTA format;
read_Lprop
creates random Sequences from a Lproportion.
Optional keyword etat_init sets the descriptor number at first position of the sequence.

Input-Output

__str__
returns the string of all Sequences in FASTA format.

Previous Up Next