Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CCLE maf files #12

Open
shwetha141 opened this issue Sep 22, 2022 · 1 comment
Open

CCLE maf files #12

shwetha141 opened this issue Sep 22, 2022 · 1 comment

Comments

@shwetha141
Copy link

Hi PoisonAlien, I am very very new to bioinformatics and I apologize if this is a dumb questions. Would it be possible to show how you can apply your tools to CCLE maf file? I tried separating the file to individual lineage maf files but having difficulty in running MutsigCV on them. I am sorry if I am not making sense. My question is that if you can apply your tool for CCLE maf file.

Thanks.

Shwetha

@PoisonAlien
Copy link
Owner

Hello,

Yes you can process any data as long as it complies to MAF format. Here is a snippet on how to generate CCLE maf object

#Download CCLE maf file (details here: https://depmap.org/portal/download/) 
download.file("https://ndownloader.figshare.com/files/34989940", destfile = "ccle.maf")
ccle = data.table::fread(file = "ccle.maf")
#Change some column names
tsb_idx = which(colnames(ccle) == "DepMap_ID")
tsa2_idx = which(colnames(ccle) == "Alternate_Allele")
colnames(ccle)[tsa2_idx] = "Tumor_Seq_Allele2"
colnames(ccle)[tsb_idx] = "Tumor_Sample_Barcode"

#Cell line annotations (DepMap ID to many..)
download.file("https://ndownloader.figshare.com/files/35020903", destfile = "ccle.clinicalInfo.csv")
sampinfo = data.table::fread(input = "ccle.clinicalInfo.csv")
colnames(sampinfo)[1] = "Tumor_Sample_Barcode"

#Make MAF
ccle = maftools::read.maf(maf = ccle, clinicalData = sampinfo)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants