modules/epang_filterquery
Drop query sequences that have too few residues in the occupied columns of the reference alignment, before EPA-ng placement
Description
Drop query sequences that have too few residues in the occupied columns of the reference alignment, before EPA-ng placement
Input
Aligned reference sequences in FASTA format, gzipped or not. A column
is occupied when at least one reference sequence has a residue in it; gaps are -
and ., and also ?, N and n when the reference is nucleotide. It is taken to be
nucleotide when at least 90% of its non-gap characters are A, C, G, T, U or N (either
case), otherwise protein, where N is asparagine. EPA-ng drops the unoccupied columns.
*.{fasta,fa,afa,aln}{,.gz}The minimum number of residues a query must have in occupied columns.
At least 1, the lowest value EPA-ng accepts. A query is also dropped when it has no
unambiguous residue in them, since EPA-ng reads ?, N, X and O (either case) as
gaps and aborts on a query with nothing else, whatever this threshold is.
Output
One row per query with the columns query, reference_columns (the
number of occupied columns), query_columns (residues of the query in
them), reference_coverage (the ratio of the two), unambiguous_columns (the
number of those columns where the query has a residue other than ?, N, X
and O, either case) and kept (true or false).
*.filterquery.tsv