This is a test version of Biostars. For the public version, visit https://www.biostars.org.
extract specific information from fastq and sam files

I have a fastq files which looks like this:

7090-001-001_CTGATCGT-GCGCATAT_L004_R1.fastq.gz
7090-001-001_CTGATCGT-GCGCATAT_L004.sam

I need to extract the following information from the file:

1- Read Group Library Identifier
2- Read Group Platform; usually Illumina
3- Read Group Platform Unit
4- Read Group Sample

do you know how I can get above 4 info?

sequencing

1 answer

See for more information: Obtaining read group information from the Fastq file

Log in to answer this question.