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

"ValueError: Length mismatch" #109

Open
GBeattie opened this issue Jun 18, 2020 · 0 comments
Open

"ValueError: Length mismatch" #109

GBeattie opened this issue Jun 18, 2020 · 0 comments

Comments

@GBeattie
Copy link

Hey!

I'm fairly sure this issue is be linked to Razers3, but maybe you guys have a fix for it.

My command is:
python /home/regmgbe/Programmes/OptiType/OptiTypePipeline.py -i ./C141_R1.fastq --rna -v -o ./Optitype_out

It runs until:
0:31:06.86 0 reads loaded. Creating dataframe...

The first and last lines of the error are:
[E::bam_read1] CIGAR and query sequence lengths differ for CL200152152L1C001R001_89655/1

ValueError: Length mismatch: Expected axis has 0 elements, new values have 7339 elements

Attempting to read the bam file (from the output folder) with samtools produces an identical "CIGAR and query sequence" error, so I'm guessing Razers3 has produced a faulty Bam file.

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

1 participant