-
Notifications
You must be signed in to change notification settings - Fork 166
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
How to run CNVkit pipeline (v0.9.7) in wgs mode using separate commands to generate reference files #525
Comments
Is that the complete log? Did |
Attaching a full log:
At the step |
Could you try segmenting the .cnr file directly with a single process? The command is: Usually when The RuntimeWarning you see is probably due to some edge effect in smoothing that I didn't handle properly. It wouldn't be a reason for failure, e.g. in #521 you saw the same warnings but segmentation succeeded (to some extent). For germline samples, you can also consider |
I've checked. It works without error. Command: Logfile of
I have also run the following commands after
All the output files are attached. |
Do you mean |
It seems that after the update of I got a When I run I have the following log with error:
|
Hi, @etal !
I want to run CNVkit pipeline (v0.9.7) in wgs mode using separate commands to generate reference files (
*.access.bed
,*.reference.cnn
), to use--reference
option incnvkit.py batch
command.According to your manual and batch.py,
*target.bed
file in wgs mode is identical to*access.bed
.But when I run
cnvkit.py batch
command with--normal
option, I see from the logfile that*.target.bed
file is generated as well. And as a result I get only*.target.bed
file from CNVkit pipeline.Logfile of cnvkit.py batch command
My running command:
$CNVKIT batch /data/D2288/D2288_t.aligned.bam --normal /data/D2288/D2288_n.aligned.bam --seq-method wgs -p 96 --output-dir /output/test_test3 --output-reference /output/test_test3/ref/reference.cnn --fasta /ref/GRCh38.d1.vd1/GRCh38.d1.vd1.fa |& tee -a /output/test_test3/D2288.batch.log
Does it mean that in wgs mode I should run
cnvkit.py target
command before generating a*.reference.cnn file
as well?If yes, whith what options should I run
cnvkit.py target
if I have wgs input data.Currently, I'm using the following commands to run CNVkit pipeline with separate reference generation and expect to see the equvivalent results (as from the command cnvkit.py batch with --normal option) :
$CNVKIT access $refGenomeFile -o $accessFile
$CNVKIT coverage $bam1 $accessFile -p $PROGRAMNUMCPUS -o $targetCoveraga
$CNVKIT reference $targetCoveraga -f $refGenomeFile -o $referenceFromNormal --no-edge
$CNVKIT batch $bam2 --seq-method $seqMethod --segment-method $segmentation --processes $PROGRAMNUMCPUS --output-dir $runDir --reference $referenceFromNormal
The described above commands are to make tumor analysis, but in germline analysis I have the same issue. If it's necessary - I can show its logfile as well.
Appreciate any recommandation concerning my issue.
With best regards,
Liliya
The text was updated successfully, but these errors were encountered: