biscuiteer

tools for analysing Biscuit (https://huishenlab.github.io/biscuit/) output

https://github.com/trichelab/biscuiteer

Science Score: 10.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    2 of 13 committers (15.4%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.8%) to scientific vocabulary

Keywords from Contributors

bioinformatics dna-methylation immune-repertoire gene transcriptomics bioconductor-package grna-sequence ontology sequencing genomics
Last synced: 11 months ago · JSON representation

Repository

tools for analysing Biscuit (https://huishenlab.github.io/biscuit/) output

Basic Info
  • Host: GitHub
  • Owner: trichelab
  • Language: R
  • Default Branch: master
  • Homepage:
  • Size: 85.9 MB
Statistics
  • Stars: 6
  • Watchers: 3
  • Forks: 11
  • Open Issues: 6
  • Releases: 1
Created over 8 years ago · Last pushed over 2 years ago
Metadata Files
Readme

README.md

biscuiteer

Build Status codecov

The original luxury biscuit boutique

Wait, no, that's these guys. biscuiteer, on the other hand, is a package to process biscuit output quickly into bsseq objects. A number of features such as VCF header parsing, shrunken M-value calculations (for compartment inference), and tumor/normal copy number segmentation are also included, but the task of locus- and region-level differential methylation inference is delegated to other packages (such as dmrseq).

Installing

R if (!requireNamespace("BiocManager", quietly=TRUE)) install.packages("BiocManager") BiocManager::install("biscuiteer")

A development version is available on GitHub and can be installed via: R if (!requireNamespace("BiocManager", quietly=TRUE)) install.packages("BiocManager") BiocManager::install("trichelab/biscuiteerData") BiocManager::install("trichelab/biscuiteer")

Usage

Loading data

biscuiteer can load headered or header-free BED-like files as produced from biscuit vcf2bed or biscuit mergecg, but we encourage users to keep their VCF headers (or just the entire VCF, which you will want to do anyways, as biscuit calls SNVs and allows for structural variant detection in a manner similar to typical whole-genome sequencing tools). Since biscuit records the version of the software and the calling arguments used to process a set of files in the output VCF, this allows for much better reproducibility:

```R

Load the package

library(biscuiteer)

To read in some data, you need:

A BED file (with or without a header)

A VCF file (only really needs the header)

Whether the file is merged CG data or not

Any other additional function inputs (genome, region to load, etc)

origbed <- system.file("extdata", "MCF7Cunhachr11p15.bed.gz", package="biscuiteer") origvcf <- system.file("extdata", "MCF7Cunhaheaderonly.vcf.gz", package="biscuiteer") bisc <- readBiscuit(BEDfile = origbed, VCFfile = orig_vcf, merged = FALSE)

To print metadata information from the loaded file:

biscuitMetadata(bisc)

CharacterList of length 3

[["Reference genome"]] hg19.fa

[["Biscuit version"]] 0.1.3.20160324

[["Invocation"]] biscuit pileup -r /primary/vari/genomicdata/genomes/hg19/hg1...

This is all drawn from the VCF header:

metadata(bisc)$vcfHeader

class: VCFHeader

samples(1): MCF7_Cunha

meta(5): fileformat reference source contig program

fixed(1): FILTER

info(3): NS CX N5

geno(7): GT DP ... GL GQ

```

Downstream bits

A/B compartment inference, age estimation from WGBS, and so forth (examples to appear).
To wit, a shorthand summary of hypo- and hyper-methylation at some regions commonly associated with each:

```R bisc.CpGindex <- CpGindex(bisc)

Computing hypermethylation indices...

Loading HMMCpGislands.hg19...

Loading H9state23unmeth.hg19...

Computing hypomethylation indices...

Loading PMDs.hg19.rda from biscuiteerData...

Loading ZhousoloWCGW_inCommonPMDs.hg19.rda from biscuiteerData...

Computing indices...

show(bisc.CpGindex)

CpGindex with 1 row and 3 columns

hyper.MCF7Cunha hypo.MCF7Cunha ratio.MCF7_Cunha

1 0.0690734126984127 0.199261516805161 0.34664702851757

-------

This object is just a DataFrame that has an idea of where it came from:

Hypermethylation was tallied across 120 region (see 'object@hyperMethRegions').

Hypomethylation was tallied across 13127 region (see 'object@hypoMethRegions').

bisc.CpGindex@hyperMethRegions

GRanges object with 120 ranges and 1 metadata column:

seqnames ranges strand | score

|

1 chr1 32230201-32230224 * | 0.0399999991059303

2 chr1 43638401-43638449 * | 0.0399999991059303

3 chr1 44884001-44884005 * | 0.0399999991059303

4 chr1 46860401-46860406 * | 0.0599999986588955

5 chr1 51435801-51436075 * | 0.0499999998137355

... ... ... ... . ...

116 chr20 8112392-8112400 * | 0.0299999993294477

117 chr20 17207801-17208191 * | 0.0599999986588955

118 chr22 20004801-20004802 * | 0.0350000001490116

119 chr22 37252601-37252731 * | 0.0599999986588955

120 chr22 43781850-43781952 * | 0.0449999999254942

-------

seqinfo: 21 sequences from hg19 genome

```

Updating documentation

$ make doc. Requires the roxygen2 package.

Owner

  • Name: The Triche Lab
  • Login: trichelab
  • Kind: organization
  • Email: trichelab at gmail dawt calm
  • Location: Grand Rapids, Michigan

"If it breaks, you get to keep the pieces"

GitHub Events

Total
  • Watch event: 1
Last Year
  • Watch event: 1

Committers

Last synced: almost 3 years ago

All Time
  • Total Commits: 316
  • Total Committers: 13
  • Avg Commits per committer: 24.308
  • Development Distribution Score (DDS): 0.532
Past Year
  • Commits: 11
  • Committers: 2
  • Avg Commits per committer: 5.5
  • Development Distribution Score (DDS): 0.182
Top Committers
Name Email Commits
ttriche t****e@g****m 148
Morrison j****n@s****r 81
Ben Johnson b****3@g****m 29
Jacob Morrison J****n@v****g 27
Nitesh Turaga n****a@g****m 12
James Eapen j****n@v****g 5
heoly32 h****2@g****m 3
Ian Beddows i****s@c****g 3
J Wokaty j****y@s****u 2
Hervé Pagès h****b@g****m 2
Svad98 9****8 2
Nathan Spix 5****x 1
Wanding Zhou z****3@e****u 1
Committer Domains (Top 20 + Academic)

Packages

  • Total packages: 1
  • Total downloads:
    • bioconductor 12,767 total
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 5
  • Total maintainers: 1
bioconductor.org: biscuiteer

Convenience Functions for Biscuit

  • Versions: 5
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 12,767 Total
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Forks count: 6.5%
Stargazers count: 12.3%
Average: 18.6%
Downloads: 74.2%
Maintainers (1)
Last synced: 11 months ago

Dependencies

DESCRIPTION cran
  • R >= 4.1.0 depends
  • biscuiteerData * depends
  • bsseq * depends
  • Biobase * imports
  • BiocGenerics * imports
  • BiocParallel * imports
  • DelayedMatrixStats * imports
  • GenomeInfoDb * imports
  • GenomicRanges * imports
  • HDF5Array * imports
  • Homo.sapiens * imports
  • IRanges * imports
  • Matrix * imports
  • Mus.musculus * imports
  • QDNAseq * imports
  • R.utils * imports
  • Rsamtools * imports
  • S4Vectors * imports
  • SummarizedExperiment * imports
  • VariantAnnotation * imports
  • data.table * imports
  • dmrseq * imports
  • gtools * imports
  • impute * imports
  • matrixStats * imports
  • methods * imports
  • qualV * imports
  • readr * imports
  • rtracklayer * imports
  • utils * imports
  • BiocStyle * suggests
  • DSS * suggests
  • QDNAseq.hg19 * suggests
  • QDNAseq.mm10 * suggests
  • covr * suggests
  • knitr * suggests
  • markdown * suggests
  • pkgdown * suggests
  • rlang * suggests
  • rmarkdown * suggests
  • roxygen2 * suggests
  • scmeth * suggests
  • testthat * suggests