SEQanswers

SEQanswers (http://seqanswers.com/forums/index.php)
-   Bioinformatics (http://seqanswers.com/forums/forumdisplay.php?f=18)
-   -   samtools view: failed to add PG line to the header (http://seqanswers.com/forums/showthread.php?t=95820)

horvathdp 08-26-2020 11:58 AM

samtools view: failed to add PG line to the header
 
So I get a error when trying to convert my sam to a bam:

samtools view: failed to add PG line to the header

My header seems OK (see below), but I am new at this. How do I fix my headers so my command generates a bam file

samtools view -bS joelle.sam > joelle.bam

@SQ SN:utg000001l LN:5073047
@SQ SN:utg000002l LN:24568116
@SQ SN:utg000003l LN:22903238
@SQ SN:utg000004l LN:14007477
@SQ SN:utg000005l LN:8330460
@SQ SN:utg000006l LN:20648589


All times are GMT -8. The time now is 03:37 PM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2021, vBulletin Solutions, Inc.