Skip to content
cccskills
FreePublished on GitHub

bioconductor-genomicfeatures

Extract the genomic locations of genes, transcripts, exons, introns, and CDS, for the gene models stored in a TxDb object. A TxDb object is a small database that contains the gene models of a given organism/assembly. Bioconductor provides a

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md4.8 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

GenomicFeatures

Dependencies & Environment

Package-intrinsic requirements from the Bioconductor landing page — reproduce in any R environment.

  • Version: 1.64.0 · Bioconductor: 3.23 · R: ≥ 4.6
  • Depends: BiocGenerics, S4Vectors, IRanges, Seqinfo, GenomicRanges, AnnotationDbi
  • Imports: DBI, XVector, Biostrings, rtracklayer
  • Install: BiocManager::install("GenomicFeatures")

When to Use

  • Extract genomic coordinates for exons, transcripts, or coding sequences as GRanges objects using transcripts, exons, or cds.
  • Group genomic features by gene or transcript into a GRangesList using transcriptsBy or exonsBy.
  • Retrieve actual sequence data by pairing a TxDb with a BSgenome package and using extractTranscriptSeqs.

When NOT to Use

  • For extracting actual sequence data without a BSgenome package (use BSgenome directly instead because GenomicFeatures only stores coordinates).
  • For finding overlaps between alignments and features without first extracting the features (use findOverlaps on the extracted GRangesList instead).

Data Requirements

  • Requires a TxDb object (loaded via loadDb or an annotation package like TxDb.Hsapiens.UCSC.hg19.knownGene).
  • Sequence extraction requires an appropriate BSgenome package (e.g., BSgenome.Hsapiens.UCSC.hg19).

Key Parameters

  • keys (default): A vector of identifiers to look up when using select.
  • columns (default): The columns to retrieve when using select.
  • keytype (default): The type of key being passed to select.
  • filter (default): A list (e.g., tx_chrom, tx_strand) to subset results in transcripts.
  • upstream (default): Number of bases upstream from the transcription start site for promoters.
  • downstream (default): Number of bases downstream from the transcription start site for promoters.
  • by (default): The feature to group by (e.g., "gene", "tx") in transcriptsBy or exonsBy.
  • use.names (default): Logical to retain sequence names in extractTranscriptSeqs.

Best Practices

  • Check active chromosomes using seqlevels before extracting features to limit the data returned.
  • Use select to map between different identifiers (e.g., TXNAME to GENEID) within the TxDb object.
  • Group features into a GRangesList (e.g., using exonsBy) before using findOverlaps to contextualize high-throughput sequencing alignments.

Common Pitfalls

  • Extracting sequences for all transcribed regions instead of just coding regions. Fix: Use cdsBy to subset coding regions before calling extractTranscriptSeqs.
  • Translating non-coding sequences resulting in meaningless translations. Fix: Ensure you extract sequences using cdsBy before passing them to translate.
  • Forgetting which chromosomes are active after filtering. Fix: Use seqlevels0 to reset to the original chromosomes stored in the database.

Alternatives

  • txdbmaker: For making TxDb objects from genomic annotations (UCSC, Ensembl, GFF) rather than querying existing ones.
  • BSgenome: For working directly with full genome sequences rather than transcript-specific metadata.
  • GenomicRanges: For general manipulation of GRanges objects rather than extracting them from a database.

Citations

  • Carlson M, Aboyoun P, Pagès H, Falcon S, Morgan M (2026). "Obtaining and Utilizing TxDb Objects." Bioconductor Vignette.

References

  • Homepage: bioconductor.org/packages/GenomicFeatures
  • Vignette: vignette_0_d47eae8b.txt
<!-- biomate-cta -->

Run this on BioMate

This skill is the knowledge layer — when, why, and how to use genomicfeatures. To run this analysis on your own data with managed compute, automated QC, and reproducible outputs, use BioMate — free to start.

▶ Open genomicfeatures on BioMate →

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

The package contains functions for exploratory oligonucleotide array analysis. The dependence on tkWidgets only concerns few convenience functions. 'affy' is fully functional without it.

The English summary is being prepared. Showing the original description.

bioMate-AI/biomate-bioconductor-kb793Updated Jun 21, 2026

This tool uses the label-tree function from HyPhy to annotate a phylogenetic tree. It allows users to select a subset of leaves using either a regular expression or a list of sequence names, and then apply a specified label to these selecte

The English summary is being prepared. Showing the original description.

bioMate-AI/biomate-bioconductor-kb793Updated Jun 21, 2026

This package provides a client for the Bioconductor AnnotationHub web resource. The AnnotationHub web resource provides a central location where genomic files (e.g., VCF, bed, wig) and other resources from standard locations (e.g., UCSC, En

The English summary is being prepared. Showing the original description.

bioMate-AI/biomate-bioconductor-kb793Updated Jun 21, 2026

apeglm provides Bayesian shrinkage estimators for effect sizes for a variety of GLM models, using approximation of the posterior for individual coefficients.

The English summary is being prepared. Showing the original description.

bioMate-AI/biomate-bioconductor-kb793Updated Jun 21, 2026

ASURAT is a software for single-cell data analysis. Using ASURAT, one can simultaneously perform unsupervised clustering and biological interpretation in terms of cell type, disease, biological process, and signaling pathway activity. Inputting a single-cell RNA-seq data and knowledge-based databases, such as Cell Ontology, Gene Ontology, KEGG, etc., ASURAT transforms gene expression tables into original multivariate tables, termed sign-by-sample matrices (SSMs).

The English summary is being prepared. Showing the original description.

bioMate-AI/biomate-bioconductor-kb793Updated Jun 21, 2026

AUCell allows to identify cells with active gene sets (e.g. signatures, gene modules...) in single-cell RNA-seq data. AUCell uses the "Area Under the Curve" (AUC) to calculate whether a critical subset of the input gene set is enriched with

The English summary is being prepared. Showing the original description.

bioMate-AI/biomate-bioconductor-kb793Updated Jun 21, 2026

See all skills by bioMate-AI

Report a problem with this skill