// ToFastaFile saves the sequence alignment to a FASTA file.
ToFastaFile saves the sequence alignment to a FASTA file.
// ToFastaFile saves the sequence alignment to a FASTA file .
func (a Alignment) ToFastaFile(path string) {
	f, err := os.Create(path)
	if err != nil {
		panic(err)
	}
	defer f.Close()
	_, err = f.WriteString(a.ToFasta())
	if err != nil {
		panic(err)
	}
	f.Sync()
}
func ( a Alignment ) ToFastaFile ( path string ) { f , err := os . Create ( path ) if err != nil { panic ( err ) } defer f . Close ( ) _ , err = f . WriteString ( a . ToFasta ( ) ) if err != nil { panic ( err ) } f . Sync ( ) }
ToFastaFile saves the sequence alignment to a FASTA file.
ToFastaFile saves the sequence alignment to a FASTA file .