Hello
I need help in getting read group info for performing alignment using BWA-MEM2. I read previous post (bwa mem: Passing a variable to read group) on read-group info, where a shell script is used to get the read group info from fastq file. Can someone explain what details should be given in the shell script, it would be of great help?
Thanks
Priya
Making a vague reference to a previous post does not help you or us. Please provide a link for that post.
Sorry, have given the link above.
Since you are interested in running
bwa-mem2
you will need to make the necessary changes inside the script to replace the command but otherwise you can use the answer bwa mem: Passing a variable to read group to run the script as shown.bwa-mapper.sh read_1.fq.gz read_2.fq.gz
. Your read headers will need to follow the standard illumina format.Thread continues: Read group info