Input/output utilities, variants, rename=None, number=None, description=None, fill=None, write_header=True)[source], sequences, names, mode='w', width=80)[source]

Write nucleotide sequences stored as numpy arrays to a FASTA file.


path : string

File path.

sequences : sequence of arrays

One or more ndarrays of dtype ‘S1’ containing the sequences.

names : sequence of strings

Names of the sequences.

mode : string, optional

Use ‘a’ to append to an existing file.

width : int, optional

Maximum line width., attributes=None, region=None, score_fill=-1, phase_fill=-1, attributes_fill='.')[source]