Illumina / canvas

Canvas - Copy number variant (CNV) calling from DNA sequencing data
Other
121 stars 20 forks source link

CanvasSomaticCaller Error #117

Open sichan778 opened 5 years ago

sichan778 commented 5 years ago

Hello Canvas Users:

I'm interested in predicting CNVs on exome data using Somatic-Enrichment. I'm running the latest tag of Canvas as follows: /path/to/centos7/dotnet-2.2.3/dotnet /path/to/Canvas-1.40.0.1613/Canvas.dll Somatic-Enrichment --bam ./treatment_exome.bam --manifest ./SureSelectManifest.txt --population-b-allele-vcf ./dbsnp.vcf --output ./output_dir/ --sample-name LibraryName --genome-folder . --reference ./genome.fa --filter-bed./filter.bed`

My genome folder contains the indexed genome fasta and the GenomeSizes.xml files.

The programs runs until it gets to the CanvasSomaticCaller/CanvasSomaticCaller.dll stage where it reports the error message:

Unhandled Exception: System.InvalidOperationException: Sequence contains no elements at System.Linq.Enumerable.Average(IEnumerable1 source) at CanvasSomaticCaller.SomaticCaller.CallVariants(String inFile, String variantFrequencyFile, String outputVCFPath, String referenceFolder, String name, Nullable1 localSDmetric, Nullable1 evennessScore, CanvasSomaticClusteringMode clusteringMode) in D:\TeamCity\buildAgent\work\a29a190a11771d97\Src\Canvas\CanvasSomaticCaller\SomaticCaller.cs:line 392 at CanvasSomaticCaller.Program.Main(String[] args) in D:\TeamCity\buildAgent\work\a29a190a11771d97\Src\Canvas\CanvasSomaticCaller\Program.cs:line 196 Aborted (core dumped)

This is the CanvasSomaticCaller command that produces the above error: /path/to/centos7/dotnet-2.2.3/dotnet /path/to/Canvas-1.40.0.1613+master_x64/Canvas-1.40.0.1613/CanvasSomaticCaller/CanvasSomaticCaller.dll -v VFResultsLibraryName.txt.gz -i LibraryName.partitioned -o CNV.vcf.gz -b filter.bed -n LibraryName -e -d -r /path/to/reference/directory/

I checked my input files and they're not empty... I'm unable to look in the partitioned file as it's a binary file.

Any ideas?

Thank you!

eroller commented 5 years ago

Please see https://github.com/Illumina/canvas/issues/62