-
Notifications
You must be signed in to change notification settings - Fork 29
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
makeCNVcalls.R failed #29
Comments
Can you share your command and head of the input CustoExon file and First Step BED file.. Note: I am not a developer of this.. i could run without error,, i had errors bcz of input CustExon file |
Rscript ./DECoN/Linux/ReadInBams.R --bams ./bamfiles --bed exome.bed --fasta Homo_sapiens_hg38.fasta more exome.bed |
I see you are giving Custom True and your custom bed file do not have exon numbering on 4th Column with headers in makeCNVcalls step,
|
this is my new bed file below and my .Rdata file in attachment chr Start end Gene |
and create custom exon number file with same BED file as above.. Chr Start End Gene Cust.Exonumber then pass it to Make CNV Step |
Exon.Number means the number of exons per gene, isn't it ? |
Chr Start End Gene Cust.ExonNo Its exon numbering for each exon of gene.. if 18 Exons per gene,, then 1-18 exons numbers |
ok, it is the position number of exon in gene |
ok, it failed at first loop step in makeCNVcalls.R with: Optimization of the choice of aggregate reference set, this process can take some time 2: In aod::betabin(data = data.for.fit, formula = as.formula(formula), : 3: In aod::betabin(data = data.for.fit, formula = as.formula(formula), : 4: In aod::betabin(data = data.for.fit, formula = as.formula(formula), : |
Something is wrong with your CustomExon Bed file, either format or the numbering, also check chr naming from your BAM, and both of BED files from step1 and Custom Exon |
you can omit the custom exon file from MakeCNV,, thats an optional try without that |
failed again with:
[1] "BEGIN makeCNVCalls.R"
[1] "Processing sample: SRR6823378_recalibrated 1/5"
Optimization of the choice of aggregate reference set, this process can take some time
Number of selected bins: 10000
Now fitting the beta-binomial model on a data frame with 206472 rows : this step can take a few minutes.
Now computing the likelihood for the different copy number states
Error in CallCNVs(x = all.exons, transition.probability = trans_prob, :
Chromosome, start and end vector must have the same lengths.
Calls: CallCNVs -> CallCNVs
In addition: Warning messages:
1: In aod::betabin(data = data.for.fit, formula = as.formula(formula), :
The data set contains at least one line with weight = 0.
2: In aod::betabin(data = data.for.fit, formula = as.formula(formula), :
The data set contains at least one line with weight = 0.
3: In aod::betabin(data = data.for.fit, formula = as.formula(formula), :
The data set contains at least one line with weight = 0.
Execution halted
The text was updated successfully, but these errors were encountered: