Hi,
I was trying to use this exciting tool to call SVs using HiFi reads on a genome assembled from those same reads.
I can run SVDSS index and SVDSS smooth. The file smoothed.selective.bam is generated. When I run SVDSS search --assemble the process completes generating files called solution_batch_*.assembled.sfs, but the log contains the samtools error [E::bam_read1] CIGAR and query sequence lengths differ for m64069_220917_213940/14419164/ccs multiple times for different reads.
Because of this, I am unable to generate an index for the BAM
$ samtools index smoothed.selective.bam
[E::bam_read1] CIGAR and query sequence lengths differ for m64069_220917_213940/163645521/ccs
samtools index: failed to create index for "smoothed.selective.bam"
Meaning I cannot complete the pipeline.
I am able to index the BAM input to SVDSS smooth without issue.
I have tried to filter the BAM for primary reads, but I run into the same problem.
Please let me know if you have any advice to overcome this issue.
Thanks
Kyle
Hi,
I was trying to use this exciting tool to call SVs using HiFi reads on a genome assembled from those same reads.
I can run
SVDSS indexandSVDSS smooth. The file smoothed.selective.bam is generated. When I runSVDSS search --assemblethe process completes generating files calledsolution_batch_*.assembled.sfs, but the log contains the samtools error[E::bam_read1] CIGAR and query sequence lengths differ for m64069_220917_213940/14419164/ccsmultiple times for different reads.Because of this, I am unable to generate an index for the BAM
Meaning I cannot complete the pipeline.
I am able to index the BAM input to
SVDSS smoothwithout issue.I have tried to filter the BAM for primary reads, but I run into the same problem.
Please let me know if you have any advice to overcome this issue.
Thanks
Kyle