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

No @RG in bam files, so Picard cannot MergeDuplicates #95

Open
markram4 opened this issue Oct 17, 2024 · 0 comments
Open

No @RG in bam files, so Picard cannot MergeDuplicates #95

markram4 opened this issue Oct 17, 2024 · 0 comments

Comments

@markram4
Copy link

I am trying to run the methlypy paired-end-pipeline, but I'm getting an error when it is trying to merged PCR duplicates. It appears it is not atting read group IDs to the sam/bam file after mapping, so Picard cannot merge read groups.

Thanks!

Exception in thread "main" java.lang.NullPointerException: Cannot invoke "htsjdk.samtools.SAMReadGroupRecord.getReadGroupId()" because the return value of "htsjdk.samtools.SAMRecord.getReadGroup()" is null
at picard.sam.markduplicates.MarkDuplicates.buildSortedReadEndLists(MarkDuplicates.java:558)
at picard.sam.markduplicates.MarkDuplicates.doWork(MarkDuplicates.java:270)
at picard.cmdline.CommandLineProgram.instanceMain(CommandLineProgram.java:281)
at picard.cmdline.PicardCommandLine.instanceMain(PicardCommandLine.java:105)
at picard.cmdline.PicardCommandLine.main(PicardCommandLine.java:115)

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