ARB
Functions
phylip.cxx File Reference
#include "input_format.h"
#include "reader.h"
#include "ali.h"
#include <cerrno>
Include dependency graph for phylip.cxx:

Go to the source code of this file.

Functions

static void phylip_print_line (const Seq &seq, int index, Writer &write)
 
static void inject_STDIN (FileWriter &write)
 
void to_phylip (const FormattedFile &in, const char *outf, bool for_fastdnaml)
 

Function Documentation

static void phylip_print_line ( const Seq seq,
int  index,
Writer write 
)
static

Definition at line 7 of file phylip.cxx.

References ca_assert, Seq::get_id(), Seq::get_len(), Seq::get_seq(), length, Writer::out(), SEQLINE, and str0len().

Referenced by to_phylip().

static void inject_STDIN ( FileWriter write)
static

Definition at line 56 of file phylip.cxx.

References FileWriter::out().

Referenced by to_phylip().

void to_phylip ( const FormattedFile in,
const char outf,
bool  for_fastdnaml 
)