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

An error while running in a partial region #285

Open
vegetableyu opened this issue Jan 17, 2024 · 4 comments
Open

An error while running in a partial region #285

vegetableyu opened this issue Jan 17, 2024 · 4 comments

Comments

@vegetableyu
Copy link

vegetableyu commented Jan 17, 2024

Hi there,
I extracted the region of bam file chr6:28000000-34000000, and ran CNVnator as follows:
step1: cnvnator -root ${SID}.root -tree ${BAM}
step2: cnvnator -root ${SID}.root -his ${BIN_SIZE} -chrom ${CHRlist} -fasta ${USER_REF}
step3: cnvnator -root ${SID}.root -stat ${BIN_SIZE}
step4: cnvnator -root ${SID}.root -partition ${BIN_SIZE}
step5: cnvnator -root ${SID}.root -call ${BIN_SIZE} > ${SID}.rawcnv

The err message of step3 was like:
Making statistics for chr6 ...
Average RD per bin (1-22) is 0.0600142 +- 0.223212 (before GC correction)
Average RD per bin (X,Y) is 0 +- 0 (before GC correction)
Correcting counts by GC-content for 'chr6' ...
Zero value of GC average.
Bin 4245 with center 424450 is not corrected.
Zero value of GC average.
Bin 4246 with center 424550 is not corrected.
Zero value of GC average.
Bin 13135 with center 1.31345e+06 is not corrected.
Zero value of GC average.
Bin 13900 with center 1.38995e+06 is not corrected.
Zero value of GC average.
Bin 14580 with center 1.45795e+06 is not corrected.
Zero value of GC average.
Bin 15362 with center 1.53615e+06 is not corrected.
Zero value of GC average.
Bin 16098 with center 1.60975e+06 is not corrected.
Zero value of GC average.
Bin 16525 with center 1.65245e+06 is not corrected.
Zero value of GC average.
Bin 16526 with center 1.65255e+06 is not corrected.
Zero value of GC average.
Bin 16527 with center 1.65265e+06 is not corrected.
Zero value of GC average.
Bin 28762 with center 2.87615e+06 is not corrected.
Zero value of GC average.
Bin 31632 with center 3.16315e+06 is not corrected.
Zero value of GC average.
.............

Then when I run step5, the program keeps running and doesn't finish.
I wonder if this is due to the error in step3 ?
And does CNVnator support running in partial chromosomal regions?

Thanks for CNVnator and for your time !
yu

@vegetableyu vegetableyu changed the title run time err An error while running in a partial region Jan 17, 2024
@abyzov
Copy link
Member

abyzov commented Jan 18, 2024 via email

@vegetableyu
Copy link
Author

Thanks for reply!
I'm also wondering if I might get the correct result when I also extract the corresponding region of the FASTA file and run CNVnator ?

@abyzov
Copy link
Member

abyzov commented Jan 20, 2024 via email

@vegetableyu
Copy link
Author

Yes. I will try this and thanks for your reply!

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

2 participants