We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm using deconstrucSigs for GRch38 genome. I find the chromosome names in BSGenome are 1,2,3 etc, and not 'chr1', 'chr2', ..
However in the mut.to.sigs.input function, there's one line: levels(mut[, chr]) <- sub("^([0-9XY])", "chr\1", levels(mut[, chr])) that add the 'chr' prefix and leads to the error: Check chr names -- not all match BSgenome.Hsapiens.NCBI.GRCh38 object: chr1, chr10, chr11, chr12, chr13, chr14, chr15, chr16, chr17, chr18, chr19, chr2, chr20, chr21, chr22, chr3, chr4, chr5, chr6, chr7, chr8, chr9, chrX
Is there anyway to get rid of that line?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm using deconstrucSigs for GRch38 genome. I find the chromosome names in BSGenome are 1,2,3 etc, and not 'chr1', 'chr2', ..
However in the mut.to.sigs.input function, there's one line:
levels(mut[, chr]) <- sub("^([0-9XY])", "chr\1", levels(mut[, chr]))
that add the 'chr' prefix and leads to the error:
Check chr names -- not all match BSgenome.Hsapiens.NCBI.GRCh38 object:
chr1, chr10, chr11, chr12, chr13, chr14, chr15, chr16, chr17, chr18, chr19, chr2, chr20, chr21, chr22, chr3, chr4, chr5, chr6, chr7, chr8, chr9, chrX
Is there anyway to get rid of that line?
The text was updated successfully, but these errors were encountered: