You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(wdl): strip protein-annotation block from HvpViralPipeline
HvpViralProteinAnnotation is now a standalone Dockstore workflow, so the
nested call inside HvpViralPipeline was redundant — and forced three
optional + two required inputs (assembly_primary_fa, rescue_viral_fa_gz,
bfvd_db_tgz, prostt5_weights_tgz, bfvd_metadata_tsv) that the viral-
prediction half does not consume.
Reverts HvpViralPipeline's input surface to merged_fa_gz + sample_name +
the three viral DBs only. Removed inputs were never produced inside
HvpViralPipeline; they came from HvpAssembly / HvpReadRescue and were
plumbed through purely to feed the nested sub-workflow.
Users wanting protein annotation now invoke HvpViralProteinAnnotation
as a separate Dockstore workflow, sourcing its inputs directly from the
Terra data-table columns populated by HvpAssembly, HvpReadRescue, and
HvpViralPipeline.
miniwdl --strict clean (only pre-existing shellcheck lint in upstream
tasks). pytest 24/24 unchanged.
n_provirus: "Number of viral contigs classified as provirus",
48
47
n_no_repeats: "Number of viral contigs with no terminal repeats",
49
48
mean_completeness: "Mean CheckV completeness across viral contigs with a completeness estimate",
50
-
mean_contamination: "Mean CheckV contamination across viral contigs with a contamination estimate",
51
-
protein_annotation_combined_faa: "(Optional, if bfvd_db_tgz + prostt5_weights_tgz supplied) Concatenated AA FASTA from geNomad + Pyrodigal-gv-on-VS2.",
52
-
protein_annotation_nr_faa: "(Optional) Non-redundant AA representatives after mmseqs easy-linclust.",
53
-
protein_annotation_foldseek_hits_tsv: "(Optional) Foldseek alignment hits vs BFVD (BLAST-tab-like TSV).",
54
-
protein_annotation_best_hits_tsv: "(Optional) Best foldseek hit per query.",
55
-
protein_annotation_annotated_tsv: "(Optional) best_hits left-joined with BFVD metadata when bfvd_metadata_tsv supplied.",
56
-
protein_annotation_num_nr: "(Optional) Representative protein count after NR collapse.",
57
-
protein_annotation_num_hits: "(Optional) Total foldseek hit-row count.",
58
-
protein_annotation_num_queries_hit: "(Optional) Distinct queries with at least one foldseek hit.",
59
-
protein_annotation_num_annotated: "(Optional) Best-hit queries that joined to a BFVD metadata row."
49
+
mean_contamination: "Mean CheckV contamination across viral contigs with a contamination estimate"
60
50
}
61
51
}
62
52
63
53
parameter_meta {
64
54
merged_fa_gz: "Merged assembly+rescue FASTA (gzipped) from HvpReadRescue"
65
-
assembly_primary_fa: "Primary assembly FASTA from HvpAssembly (plain FASTA, uncompressed). Used as a distinct ORF-call source by the optional protein-annotation stage."
66
-
rescue_viral_fa_gz: "Kraken-flagged viral rescued-reads FASTA (gzipped) from HvpReadRescue. Used as a distinct ORF-call source by the optional protein-annotation stage."
67
55
sample_name: "Sample identifier used as output file prefix (e.g. bc2097)"
68
56
genomad_db_tgz: "geNomad database as a single compressed archive (.tar.gz or .tar.zst)"
69
57
vs2_db_tgz: "VirSorter2 database as a single compressed archive (.tar.gz or .tar.zst)"
70
58
checkv_db_tgz: "CheckV database as a single compressed archive (.tar.gz or .tar.zst)"
71
59
genomad_extra_args: "Additional command-line args appended verbatim to the genomad invocation"
72
60
vs2_min_length: "Minimum sequence length for VirSorter2 (default 1000)"
73
61
vs2_extra_args: "Additional command-line args appended verbatim to the virsorter run invocation"
74
-
bfvd_db_tgz: "Optional pre-built BFVD foldseek structure DB (tar.gz, ~534 MB). When supplied together with prostt5_weights_tgz, the HvpViralProteinAnnotation sub-workflow runs end-to-end: Pyrodigal-gv on VS2 viral contigs + geNomad AA -> mmseqs NR -> ProstT5 foldseek DB -> foldseek search vs BFVD -> best-hit + annotation transfer. Leave unset to skip the structural-annotation stage. Source: https://bfvd.steineggerlab.workers.dev/latest/bfvd_foldseekdb.tar.gz"
75
-
prostt5_weights_tgz: "Optional ProstT5 model weights (tar.gz, ~2.1 GB). Required iff bfvd_db_tgz is supplied. Source: https://foldseek.steineggerlab.workers.dev/prostt5-f16-gguf.tar.gz"
76
-
bfvd_metadata_tsv: "Optional BFVD reference metadata TSV (~15 MB). When supplied with bfvd_db_tgz, attaches descriptive annotations to best foldseek hits. Source: https://bfvd.steineggerlab.workers.dev/latest/bfvd_metadata.tsv"
0 commit comments