Notice:
If you happen to see a question you know the answer to, please do chime in and help your fellow community members. We encourage our fourm members to be more involved, jump in and help out your fellow researchers with their questions. GATK forum is a community forum and helping each other with using GATK tools and research is the cornerstone of our success as a genomics research community.We appreciate your help!

Test-drive the GATK tools and Best Practices pipelines on Terra


Check out this blog post to learn how you can get started with GATK and try out the pipelines in preconfigured workspaces (with a user-friendly interface!) without having to install anything.
Attention:
We will be out of the office on October 14, 2019, due to the U.S. holiday. We will return to monitoring the forum on October 15.

ERROR:INVALID_INSERT_SIZE using picard CollectAlignmentSummaryMetrics

Hi all,

I am trying to run: java -jar picard.jar CollectAlignmentSummaryMetrics R=reference.fasta I=myfile.SORT.bam O=outputpicard.txt

my bam file was created using bwa and samtools from paired end reads.

bwa mem -t 24 myreference.fasta C1_1_Q30L50.fq C1_2_Q30L50.fq | samtools view -F 12 -Sb -o C1.Q30L50MAP.bam -
And the output was sorted using: samtools sort -o C1.Q30L50MAP.SORT.bam C1.Q30L50MAP.bam

But I have this error:

SAMRecord my reference length is too large for BAM bin field. A00551:34:H7KNLDSXX:1:2675:7048:35493 record bin field value is incorrect.

Then I followed the workflow for diagnosing SAM/BAM file errors with ValidateSamFile.
And the summary was:

## HISTOGRAM java.lang.String
Error Type Count
ERROR:INVALID_INSERT_SIZE 6971533
ERROR:MISSING_READ_GROUP 1
WARNING:RECORD_MISSING_READ_GROUP 574151359

And the detailed list was:

ERROR: Record 272534869, Read name A00551:34:H7KNLDSXX:1:2670:8404:5963, Insert size out of range
.
.
I haven´t be able to resolve this problem, could you help me? i read in the forum similar questions but I could find the solution.

Thank you,

Best regards,
Tagged:

Answers

Sign In or Register to comment.