fasta_newick_epang_gappa
Run phylogenetic placement with a number of query sequences plus a reference alignment and phylogeny. Used in nf-core/phyloplace.
Description
Run phylogenetic placement with a number of query sequences plus a reference alignment and phylogeny. Used in nf-core/phyloplace.
Input
Phylogenetic placement input, one entry per sample, where:
alignmethodis the method used for alignment, ‘hmmer’, ‘clustalo’ or ‘mafft’queryseqfileis a fasta file with query sequencesrefseqfileis a file with reference sequences, aligned unless an hmmfile is providedrefphylogenyis a newick file with the reference phylogenetic treehmmfileis an optional HMM file to use for alignment; implies that refseqfile is not alignedmodelis the phylogenetic model to use in placement, e.g. ‘LG+F’ or ‘GTR+I+F’taxonomyis a tab separated file with taxonomy information for the reference sequencesmin_query_columnsis optional, the minimum number of residues a query must have in the
reference alignment columns that are not all gaps; defaults to 1, the lowest value EPA-ng accepts.
A sample where no query passes gets no placement outputs, only a warning and thefilterquery_tablemin_reference_coverageis optional, the minimum fraction of those columns a query must have
a residue in, between 0 and 1; defaults to 0
Structure: [
meta: val(meta),
data: [
alignmethod: ‘hmmer’,
queryseqfile: path(“*.faa”),
refseqfile: path(“*.alnfaa”),
refphylogeny: path(“*.newick”),
hmmfile: path(“*.hmm”),
model: “LG”,
taxonomy: path(“*.tsv”),
min_query_columns: 1,
min_reference_coverage: 0
]
]
Output
Tab separated file with one row per query sequence: the number of columns of the reference
alignment with a residue, the number of those the query has a residue in, the coverage, the
number of those columns with an unambiguous residue (not ?, N, X or O) and whether the query
passed the filter and was placed.
Structure: [ val(meta), path(tsv) ]
*.filterquery.tsvNewick file with query sequences placed in reference tree.
Structure: [ val(meta), path(newick) ]
*.newickTab separated file with taxonomy information from classification.
Structure: [ val(meta), path(tsv) ]
*.tsvTab separated file with taxonomy information per query from classification.
Structure: [ val(meta), path(tsv) ]
*.tsv