Open miasungeunlee opened 5 years ago
Hi, I’ve used this R script to get q-values based on p-values. I think now most of people tend to use DVF threshold for selecting contigs with a score ≥0.9 and p-value <0.05, not taking account of qvalues… (See the https://www.mdpi.com/2571-8789/4/2/23 https://www.mdpi.com/2571-8789/4/2/23)
library(qvalue) result <- read.csv("gt1000bp_dvfpred.txt", sep='\t') result$qvalue <- qvalue(result$pvalue, pi0= 1 )$qvalues qvalue<-result[order(result$qvalue),] write.table(qvalue, file = "gt1000bp_dvfpred.txt", sep = "\t") q()
Cheers Mia
Le 23 nov. 2022 à 09:43, asierFernandezP @.***> a écrit :
Hi! Any solutions for this problem?
— Reply to this email directly, view it on GitHub https://github.com/jessieren/DeepVirFinder/issues/6#issuecomment-1324713515, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHUAD4ZYLBNIYOOVDPNZB6LWJXKKHANCNFSM4H53NJZQ. You are receiving this because you authored the thread.
Thank you Mia!! I have just seen also this approach: https://github.com/StoreyLab/qvalue/issues/19#issuecomment-643394179
But I will consider also not taking q-values into account.
Best, Asier
You’re welcome & enjoy your virus discovery ! Best, Mia
Le 23 nov. 2022 à 10:06, asierFernandezP @.***> a écrit :
Thank you Mia!! I have just seen also this approach: StoreyLab/qvalue#19 (comment) https://github.com/StoreyLab/qvalue/issues/19#issuecomment-1038565450 But I will consider also not taking q-values into account.
Best, Asier
— Reply to this email directly, view it on GitHub https://github.com/jessieren/DeepVirFinder/issues/6#issuecomment-1324739131, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHUAD43DETUDINT77AHD2K3WJXNADANCNFSM4H53NJZQ. You are receiving this because you authored the thread.
Dear Jie,
Thanks for this amazing tool. I am using DeepVirFinder to find viral sequences from contigs from metagenomic data. But there was this error when calculating the q value using p-value: There are hole script: