Hi guys,

Our sequencer is now outputting header lines with the following format

@M02212:177:000000000-CBJHK:1:1101:11456:1264 1:N:0:AGGCAGAA+CTCTCTAT

If I use BWA with the -C flag then this header info gets sent to the .sam 
output file however in the sam->bam conversion I am
getting

[M::mem_pestat] skip orientation RR as there are not enough pairs
[M::mem_process_seqs] Processed 202164 reads in 14.429 CPU sec, 3.606 real sec
[E::sam_parse1] unrecognized type :
[W::sam_read1] Parse error at line 11
samtools sort: truncated file. Aborting
User:      14.22
System:    0.62
Elapsed:   0:04.21


I am running modules for SAMtools/1.9-foss-2018b BWA/0.7.17-foss-2018b

my default commandline would look like

bwa mem -t 4 -M -B 2 -C -R
"@RG\tID:B-Zhejiang-Wuxin-113-2018_QFX\tLB:B-Zhejiang-Wuxin-113-2018_QFX\tSM:B-Zhejiang-Wuxin-113-2018_QFX\tPL:ILLUMINA"
 \
       
/camp/stp/babs/working/stewara/projects/asf/laura.cubitt/RN19003/reference/swH1N1
 \
       B-Zhejiang-Wuxin-113-2018_QFX.R1.trim.fastq \
       B-Zhejiang-Wuxin-113-2018_QFX.R2.trim.fastq | \
       samtools sort -@4 -O BAM -o 
B-Zhejiang-Wuxin-113-2018_QFX.swH1N1.test.bam -


Cheers
Aengus



--
-----------------------------------------------------------------------
Aengus Stewart                                 Tel: +44 (0)20 3796 1702
Head of Bioinformatics and BioStatistics
Francis Crick Institute
1 Midland Rd
Kings Cross, London NW1 1AT, UK
-----------------------------------------------------------------------
The Francis Crick Institute Limited is a registered charity in England and 
Wales no. 1140062 and a company registered in England and Wales no. 06885462, 
with its registered office at 1 Midland Road London NW1 1AT

_______________________________________________
Samtools-help mailing list
Samtools-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/samtools-help

Reply via email to