9 int indi, index, count, bnum, seq_length;
12 if ((bnum =
str0len(
id)) > 10) {
14 for (indi = 0; indi < 10; indi++) write.
out(
id[indi]);
23 if (start < seq_length)
24 for (indi = 0; indi < bnum; indi++) write.
out(
' ');
29 write.
outf(
"%4d ", base_count);
30 for (index = start, count = 0; count <
PRTLENGTH && index < seq_length; index++) {
31 write.
out(sequence[index]);
54 int base_nums[total_seq];
55 for (
int i = 0; i<total_seq; ++i) base_nums[i] = 0;
58 while (maxsize > current) {
59 for (
int indi = 0; indi < total_seq; indi++) {
62 const char *sequence = seq.
get_seq();
64 for (
int index = 0; index <
PRTLENGTH && (current + index) < length; index++)
70 if (current < length && !
is_gapchar(sequence[current]))
71 start = base_nums[indi] + 1;
73 start = base_nums[indi];
76 base_nums[indi] += base_count;
79 if (maxsize > current)
CONSTEXPR_INLINE int str0len(const char *str)
void out(char ch) FINAL_OVERRIDE
#define implicated(hypothesis, conclusion)
const char * get_id() const
static HelixNrInfo * start
static void printable_print_line(const char *id, const char *sequence, int start, int base_count, Writer &write)
virtual void out(char ch)=0
CONSTEXPR_INLINE bool is_input_format(Format inType)
virtual int outf(const char *format,...) __ATTR__FORMAT_MEMBER(1)
const Seq & get(int idx) const
void throw_conversion_not_supported(Format inType, Format ouType)
void to_printable(const FormattedFile &in, const char *outf)
void read_alignment(Alignment &ali, const FormattedFile &in)
const char * get_seq() const