Skip to content

docs: clarify REFCODON/VARCODON use transcript-strand coordinates (#43)#105

Open
jmg421 wants to merge 3 commits into
Bioconductor:develfrom
jmg421:fix/43-refcodon-strand-docs
Open

docs: clarify REFCODON/VARCODON use transcript-strand coordinates (#43)#105
jmg421 wants to merge 3 commits into
Bioconductor:develfrom
jmg421:fix/43-refcodon-strand-docs

Conversation

@jmg421

@jmg421 jmg421 commented Jul 6, 2026

Copy link
Copy Markdown

Fixes #43

Problem

Users reported that REFCODON doesn't match the VCF REF field for minus-strand genes. This is actually correct behavior — codons must be in transcript orientation for valid translation — but the documentation gave no hint of this.

Fix

Expanded the REFCODON and VARCODON sections in predictCoding-methods.Rd to explicitly state:

  • Both columns are in transcript (coding) strand coordinates, not + genomic strand
  • For minus-strand genes, the bases are reverse-complemented relative to VCF REF/ALT
  • Includes a concrete example (REF=A → T in the codon for a minus-strand gene)

No code changes — the existing logic is correct.

vjcitn and others added 3 commits July 17, 2026 21:15
Convert \itemize blocks that used \item{label}{desc} syntax to \describe,
and replace empty \item{}{} labels in \describe blocks with the function
signature from the body, resolving all checkRd warnings in isSNV-methods,
PolyPhenDb-class, readVcf-methods, SIFTDb-class, summarizeVariants-methods,
VariantType-class, VCF-class, VcfFile-class, VCFHeader-class, VRanges-class,
and VRangesList-class Rd files.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@jmg421
jmg421 force-pushed the fix/43-refcodon-strand-docs branch from 0caea5c to ad06705 Compare July 18, 2026 03:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

REFCODON not consistent with REF

2 participants