You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, thank you again for providing the link for numts.txt, which I have asked as an issue on June 29th.
Thanks to your kind instruction, I was able to download it and all commands ran well with your test dataset stored in extdata folder (chr1_numt_pe_HS25.sv.vcf).
Thus, I tried to analyze my vcf files of interest, but I got stuck.
My question today might be overlapped with previous comments #6 (Obtaining Known NuMTs for hg38 #6) but let me ask you again.
What I did was three things.
Prepared hg38 coordinate of numtS.txt by myself and run with BSgenome.Hsapiens.UCSC.hg38.
Stay with hg19 coordinate. To do so, I did a LiftOver against all my vcf files.
Just in case, I have removed chr from my vcf since your vcf file does not have a prefix "chr".
Here are the details of aforementioned 1 - 3.
My vcf was hg38, so I prepared a reference numts.txt for hg38 coordinate and read it. numtS <- read_table(system.file("extdata", "numtS_hg38.txt", package = "svaNUMT"), col_names = FALSE)
Everything was ok before GRangeList.
Unfortunately, this command gave an error. GRangesList(NU=NUMT$MT$NU$`1`[[1]], MT=NUMT$MT$MT$`1`[[1]]) Error in FUN(X[[i]], ...) : no method or default for coercing “NULL” to “GRanges”
As I mentioned above, I got the error in GRangesList. Thus, I decided to LiftOver all my vcf files and run with the default settings, which is to use numtS.txt and BSgenome.Hsapiens.UCSC.hg19.
However, I got a same error when running the command of GRangesList. Error in FUN(X[[i]], ...) : no method or default for coercing “NULL” to “GRanges”
I know this is a silly idea, but I wanted to make sure one thing. Your vcf file does not have a prefix "chr". Hence, I decided to remove by using a shell script as I shown below. cat {my vcf file} | sed -e 's/^chr//g' > {my vcf file_new}
Unfortunately, nothing has changed, no luck.
When I ran the code of GRangeList, I always get a same error.
What is wrong with my vcf?
It was annotated by gridss though.
Any kind of comments should be helpful.
Thank you!
The text was updated successfully, but these errors were encountered:
Hi there, no method or default for coercing “NULL” to “GRanges” would indicate that your NUMT$MT$NU$1 or NUMT$MT$MT$1 is empty. If you are sure that there are NUMTs in the GRanges, probably start by checking the seqnames formats and if system.file("extdata", "numtS_hg38.txt", package = "svaNUMT") is valid. The seqname prefix can be converted with GenomeInfoDb::seqlevelsStyle().
Thank you for your response and giving me an opportunity to step back to think about this error.
Actually, I realized that one script before GRangesList is the problem.
When I run with your test vcf file, I only see one warning message as I shown below. NUMT <- numtDetect(gr, numtS, genomeMT, max_ins_dist = 20) There is no MT sequence from known NUMT events detected.
With my vcf files, I get three warnings. There is no NUMT event detected. Check whether 'chrM' or 'MT' is present in the VCF. There is no MT sequence from known NUMT events detected. There is no NUMT event detected satisfying the min.Align score.
I know chrM or MT is presented in my vcf.
Just in case, I gave it a try to use: seqlevelsStyle(gr) <- "NCBI" seqlevelsStyle<-`(GRanges(numtS), "UCSC")
and so on to see if I can solve this problem.
Unfortunately, I have still encountered the same error.
Hi, thank you again for providing the link for numts.txt, which I have asked as an issue on June 29th.
Thanks to your kind instruction, I was able to download it and all commands ran well with your test dataset stored in extdata folder (chr1_numt_pe_HS25.sv.vcf).
Thus, I tried to analyze my vcf files of interest, but I got stuck.
My question today might be overlapped with previous comments #6 (Obtaining Known NuMTs for hg38 #6) but let me ask you again.
What I did was three things.
Here are the details of aforementioned 1 - 3.
My vcf was hg38, so I prepared a reference numts.txt for hg38 coordinate and read it.
numtS <- read_table(system.file("extdata", "numtS_hg38.txt", package = "svaNUMT"), col_names = FALSE)
Everything was ok before GRangeList.
Unfortunately, this command gave an error.
GRangesList(NU=NUMT$MT$NU$`1`[[1]], MT=NUMT$MT$MT$`1`[[1]])
Error in FUN(X[[i]], ...) :
no method or default for coercing “NULL” to “GRanges”
As I mentioned above, I got the error in GRangesList. Thus, I decided to LiftOver all my vcf files and run with the default settings, which is to use numtS.txt and BSgenome.Hsapiens.UCSC.hg19.
However, I got a same error when running the command of GRangesList.
Error in FUN(X[[i]], ...) :
no method or default for coercing “NULL” to “GRanges”
I know this is a silly idea, but I wanted to make sure one thing. Your vcf file does not have a prefix "chr". Hence, I decided to remove by using a shell script as I shown below.
cat {my vcf file} | sed -e 's/^chr//g' > {my vcf file_new}
Unfortunately, nothing has changed, no luck.
When I ran the code of GRangeList, I always get a same error.
What is wrong with my vcf?
It was annotated by gridss though.
Any kind of comments should be helpful.
Thank you!
The text was updated successfully, but these errors were encountered: