docs: add usage, output, and samplesheet schema documentation - #23
Merged
Conversation
docs/usage.md — quick-start, profile axis table, samplesheet column reference,
filtering flags, key params, resume/stub/EarlGrey recipes
docs/output.md — full directory layout, per-output descriptions, storeDir vs
publishDir persistence model
assets/schema_input.json — JSON Schema for samples.csv (required: SPECIES, ASMID,
LOCUSTAG, BUSCO_LINEAGE; optional: STRAIN, TRANSL_TABLE,
NCBI_TAXONID, GENOME, taxonomy rank columns)
REFACTORING_PLAN.md / REFACTOR_ISSUES.md — issues #11 + #12 marked done; naming
decision recorded: stay nf-core-inspired, do not submit
(nf_funannotate1 naming kept; container-per-module and nf-test
not pursued for this HPC-first pipeline). Epic closed.
Stub gate: 15/0.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AbWwmm9v6dJn13sgAJn3Sa
NF 26.04.4 passes all CLI args as strings; nf-schema 2.6.1 validates them before Groovy type coercion, rejecting --n_test 1, --skip_fcs true, etc. lenientMode = true accepts string representations of typed params from CLI while still enforcing structure and required-field rules. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AbWwmm9v6dJn13sgAJn3Sa
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Complete the nf-core-inspired documentation and schema requirements (issue #12). Add comprehensive user-facing documentation for pipeline usage and output structure, along with a JSON schema for samplesheet validation.
Key changes
docs/usage.md— Quick-start guide covering:--asmid,--taxon,--n_test)docs/output.md— Complete output directory reference:storeDirpersistence model (outputs accumulate across runs; deleting a file forces re-execution)storeDir(most outputs) andpublishDir(SRA, antiSMASH, InterProScan, SignalP)assets/schema_input.json— JSON Schema (draft 2020-12) for samplesheet validation:SPECIES,ASMID,LOCUSTAG,BUSCO_LINEAGESTRAIN,TRANSL_TABLE,NCBI_TAXONID,GENOME, taxonomic ranksnextflow.config— Add validation block:lenientMode = trueto accept string representations ("true"/"1") from CLI args in NF 26.xmonochromeLogs = falsefor readable schema validation outputREFACTORING_PLAN.md— Update status:nf_funannotate1naming; defer container-per-module and nf-test as non-priorities for this HPC-first pipeline.github/REFACTOR_ISSUES.md— Close issue Annotation subworkflow (Phase 8) #12 checklist:Implementation notes
nextflow.config) for runtime validationstoreDircaching model, which is central to the pipeline's resume behavior on NFS-mounted filesystemslaunchDirunless noted as overridable parametershttps://claude.ai/code/session_01AbWwmm9v6dJn13sgAJn3Sa