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

Plotting error #127

Open
IanCodes opened this issue Sep 18, 2023 · 4 comments
Open

Plotting error #127

IanCodes opened this issue Sep 18, 2023 · 4 comments

Comments

@IanCodes
Copy link

I have used conda (v0.3.2 and 0.5.0), and the recommended installation method using R devtools for ichorCNA.
I used the runichorCNA.R script from version 0.3.2, as 0.5.0 on provides an R function in the script.

The script fails at the same place, where it is plotting to a PDF.

Error in (function (classes, fdef, mtable)  : 
  unable to find an inherited method for function ‘seqinfo’ for signature ‘"standardGeneric"’
Calls: plotSolutions ... seqlengths -> seqlengths -> seqlengths -> seqinfo -> <Anonymous>

Can anyone tell me the problem here?
Thank you.

@xiucz
Copy link

xiucz commented Feb 5, 2024

Please check your input file type.

@edceeyuchen
Copy link

Please check your input file type.

I met the same problem, what's your means the input file? The input file only .wig, right?
Could you give me more detail for this bug?
Thank you!
Best wish

@xiucz
Copy link

xiucz commented Mar 15, 2024

@edceeyuchen
Hi, can you please use this version https://github.com/GavinHaLab/ichorCNA instead? It seems that the GitHub repository is no longer maintained.

I apologize for any confusion. What I meant is that the chromosome types(UCSC, with "chr" or NCBI, without "chr") ) may not be a perfect match?

It's been a while since I last worked on the issue, and I might have forgotten some details. If you have any other questions, feel free to continue the discussion. ^_^

Best,
xiucz

@TomokiMotegi
Copy link

This error message suggests that if the "seqinfo" is missing, the function tries to use the "standardGeneric" method instead.
This error causes describing "NCBI" on the line "ichorCNA_genomeStyle" in config.yaml.

## load seqinfo 
# seqinfo <- getSeqInfo(genomeBuild, genomeStyle)
if (genomeBuild == "hg19" &  genomeStyle == "UCSC") {
  seqinfo <- readRDS("/restricted/projectnb/camplab/home/tmotegi/Work/231025_iChorCNA_test/ichorCNA/inst/extdata/seqinfo_hg19_ucsc.rds")
}
if (genomeBuild == "hg38" &  genomeStyle == "UCSC") {
  seqinfo <- readRDS("/restricted/projectnb/camplab/home/tmotegi/Work/231025_iChorCNA_test/ichorCNA/inst/extdata/seqinfo_hg38_ucsc.rds")
}

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

4 participants