sequence.Sequence = class Sequence(_Seq)
    Sequence
 
  Methods defined here:
__init__(self, **kw)
Keyword argument:
fic -- build from filename fic.
generate(self, l)
Build empty with length l.
read_Part(self, part, lprop)
Compute randomly from a Partition part and a Lproportion
lprop. Segments of part must be numbered, which numbers are those of
descriptors of lprop.
read_nf(self, nf)
Build from filename nf.

Methods inherited from _Seq:
__getitem__(self, i)
(x.__getitem__(i) <==> x[i])
__getslice__(self, i, j)
!!! Do NOT create a new Sequence; so destruction of the original
Sequence entails destruction of this result.
(x.__getslice__(i,j) <==> x[i:j])
__len__(self)
(x.__len__() <==> len(x))
__setitem__(self, i, c)
(x.__setitem__(i,c) <==> x[i]=c)
__setslice__(self, i, j, s)
(x.__setslice__(i,j,s) <==> x[i:j]=s)
Replace the subsequence x[i:j] by Sequence or string s.
If len(s) <> j-i, builds a new Sequence as a result,
otherwise replace in the former one.
__str__(self)
(x.__str__()<==> str(x))
alpha(self)
Return the list of the used letters.
copy(self)
Return a NEW copy Sequence of the Sequence.
fasta(self)
Return the string in fasta format.
g_name(self, s)
Take name s
name(self)
Return the name.
read_Lprop(self, lprop, **kw)
Build from a Lproportion lprop. Return the Partition of the
descriptors.
        
Keyword argument:
deb -- change only after position deb (>=0) included;
fin -- change only before position fin (<len()) included;
long -- create a lg-length Sequence. In that case, deb and
        fin are not read;
etat_init --  begin with descriptor number etat_init if it is valid.
              Otherwise, starts with a random descriptor of lprop.
read_prop(self, prop, **kw)
Build from a Proportion prop. 
 
Keyword argument:
deb -- change only after position deb (>=0) included;
fin -- change only before position fin (<len()) included;
long -- create a lg-length Sequence. In that case, deb and
        fin are not read.
seq(self)
Return the mere sequence.
shuffle(self, i=0)
Quasi-uniformly randomize itself using i (default:
len*(log(len)+1)/2) transpositions.