envest / single-cell_lineage Goto Github PK
View Code? Open in Web Editor NEWLineage tracking from single-cell DNA mutations
License: BSD 3-Clause "New" or "Revised" License
Lineage tracking from single-cell DNA mutations
License: BSD 3-Clause "New" or "Revised" License
A set 22 SNPs (subset: 7 SNPs) were included in a the Mission Bio panel for VHR-ALL data.
These SNPs can be used to differentiate between pooled samples.
Each patient has one non-pooled sample (usuallly diagnosis) and some samples were pooled to create enough material for sequencing (MRD stage).
Ultimately, we need a table like this:
sample | stage | pool | cell |
---|---|---|---|
sample_1 | diagnosis | NA or pool_n |
cell_barcode_1 |
... |
Some cells may not match perfectly -- we can provide a best-guess and a confidence level. We may exclude cells with confidence below a threshold.
It's possible we may want to un-pool VCFs, but that may not be necessary.
We need to collect metadata for each sample, especially
My initial expectation is this environment should include:
samtools
bcftools
pysam
pyvcf
tidyverse
Ultimately working with a nextflow singularity container will translate to HPC
Mission Bio VCFs can be downloaded using wget
, which uses a URL and needs an output file name/location.
URL
and file_name
bcftools sort
to create a sorted bcf.gz
filebcftools index
to index the sorted `bcf.gz. file in the same locationMission Bio data includes variants not included in the target list due to off-target coverage.
This script should select --targets targets.tsv
from a --input_file sorted.bcf.gz
and storing in --output_file target_description.bcf.gz
.
bcftools view
takes a BCF and target list as input and outputs just our variants of interest.
We need to download bam files from remote sites. Sometimes they will have an index (also download that) but sometimes not (create index with samtools index
).
For each tapestri scDNA VCF file, we want to include our own QC report. It can include metrics already provided by the pipeline, but expand to focus on metrics for each variant and barcode, including proportion of genotypes called in either dimension.
Create two R markdown notebooks:
Inputs:
Notebooks can be shared with collaborators as something like
patient.sample.scdna_qc_report.html
project_name.scdna_qc_overview.html
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.