Alleloscope
Alleloscope copied to clipboard
Obtain bin by cell matrices from bulk WGS+ scDNAseq
Hello,
I have a 10x scDNAseq tumor data and a matched bulk WGS normal data. I would like to perform CNA analysis using Alleloscope. I am not sure on how to prepare the 'Bin by cell (sparse) matrices for tumor and normal samples' in step 4. Specifically,
- are the bin-widths fixed e.g. "chr1-1-20000", or is there a way to construct the bins?
- Given a set of bins, can you suggest a way to get the 'bin by 1' matrix from the bulk wgs bam file?
Hello, Can you please help me out on this issue?
Thanks.
Hello!
Sorry for the late reply!! Please see the following answers--
-
The bin-widths do not need to be fixed. The output from the 10x scDNA-seq preprocessing may already include a bin by cell matrix? You could check out this script for generating the bin coordiate file:
https://github.com/seasoncloud/Basic_CNV_SNV/blob/main/scripts/Generate_bed.R
and the chromosome size file herehttps://github.com/seasoncloud/Alleloscope/tree/main/data-raw
-
Yes I used bedtools
https://bedtools.readthedocs.io/en/latest/content/tools/intersect.html#
to get the bin by 1 matrix.
Thank you so much for your response, and the details. I will get back to you with further updates on this.