.seq
, and a filename in FASTA format must end with .fa
or .fst
;
> import sequence > s=sequence.Sequence(fic="toto.fa") > len(s) 10 > b=s[3:5] > print b 3 ACG > b[2]='A' > print s[3:5] 3 ACA > b[:2]="TT" > print s[3:5] # b and s are still linked 3 TTA > b[:2]="ACG" > print b 4 ACGA > print s[3:5] # b and s are no longer linked 3 TTA
|
|