https://github.com/alleninstitute/lowcat
Low coverage accessibility and transcriptomics
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.2%) to scientific vocabulary
Keywords
Repository
Low coverage accessibility and transcriptomics
Basic Info
- Host: GitHub
- Owner: AllenInstitute
- License: other
- Language: R
- Default Branch: master
- Size: 8.89 MB
Statistics
- Stars: 0
- Watchers: 12
- Forks: 1
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
readme.md
lowcat: Low Coverage Accessibility and Transcriptomics
Description
lowcat is a collection of functions for reading, comparing, clustering, and identifying single-cell ATAC-seq or other similar, low-coverage chromatin accessibility data.
Installation
lowcat depends on several Bioconductor packages. To start, install them with BiocManager: ``` if(!"BiocManager" %in% installed.packages()) { install.packages("BiocManager") }
bioc_packages <- c("GenomicAlignments", "GenomicRanges", "rsamtools", "rtracklayer")
missingbiocpackages <- setdiff(bioc_packages, installed.packages())
BiocManager::install(missingbiocpackages) ```
Then, install lowcat using:
devtools::install_github("AllenInstitute/lowcat")
Reading files
The main unit of operation for lowcat is a list of GRanges objects, one per cell/nucleus/sample.
Note that this is not a GRangesList object.
lowcat has helper functions for reading in many BAM files (one per sample) or multiplexed BAM files.
For multiple BAM files, the fastest option is runpetofragparallel(): ``` mybamdir <- "/path/to/bamfiles/" bamfiles <- list.files(mybamdir, pattern = ".bam$", fullnames = TRUE)
bamnames <- list.files(mybamdir, pattern = ".bam$", fullnames = FALSE)
bamnames <- sub(".bam$", "", bamnames)
fragmentlist <- runpetofragparallel(bamfiles, samplenames = bamnames, n_cores = 4) ```
For multiplexed BAM data, like that from sci-ATAC-seq, use readmultiplexedpaired_bam().
Note 1: This requires that barcodes are present in the QNAME field of the BAM file.
Note 2: This function currently isn't very well optimized.
It requires LOTS of available RAM - at least 4X the size of the target file itself, and can take a long time to run.
fragment_list <- read_multiplexed_paired_bam(bam_file,
barcode_start = 1,
barcode_end = 32,
read_length = 50,
min_frags = 100,
remove_duplicates = TRUE)
Level of Support
We are planning on occasional updating this tool with no fixed schedule. Community involvement is encouraged through both issues and pull requests.
License
This code is released under the Allen Institute Software License. See file LICENSE for details.
Contributions
Any contributions to this repository are subject to the Allen Institute Contribution Agreement. See file CONTRIBUTING.md for details.
Owner
- Name: Allen Institute
- Login: AllenInstitute
- Kind: organization
- Location: Seattle, WA
- Website: https://alleninstitute.org
- Repositories: 184
- Profile: https://github.com/AllenInstitute
Please visit http://alleninstitute.github.io/ for more information.
GitHub Events
Total
Last Year
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 0
- Total pull requests: 5
- Average time to close issues: N/A
- Average time to close pull requests: less than a minute
- Total issue authors: 0
- Total pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 5
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
- hypercompetent (5)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- GenomicAlignments * imports
- GenomicRanges * imports
- IRanges * imports
- Rsamtools * imports
- data.table >= 1.10.4 imports
- dplyr >= 0.7.4 imports
- parallel >= 3.4.3 imports
- purrr >= 0.2.4 imports
- rbamtools >= 2.16.0 imports
- testthat * suggests