Hello
I am running minimap2 in a pipeline with GATK that needs read group data @RG with sample information.
minimap2 -ax sr -t 20 -I 100G -R @RG\\tID:A00253_251_HTN2JDSXY.2\\tPL:ILLUMINA\tLB:LB1\\tSM:TA90 ref.mmi reads_1.fq.gz reads_2.fq.gz | samtools view -bh -F 260 -T ref.fa >out.bam
I see in the bam file only the ID part of the read group like this:
RG:Z:A00253_251_HTN2JDSXY.2
How do I fix this? Thank you
From an old bwa script, I see I don't use double backslashes. Try with: