This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How to separate Miseq data and Hiseq data

Hello everyone please i have question i have a file containing Mi seq data and Hi seq data Hi seq reads starts with @HI and Mi seq reads starts with MI. like this for exemple

@HI name
ACATATATATAT
+
HJKSKSKSKSK
@MI name
TCTAGATAGGCTATCAGATGAT
+
HYUHJKKKKKJJJKKKKKKHHYH

my question is how i can separate my seq reads and Hi seq reads .

Thank you

assembly alignment sequence genome

2 answers

You can use grep command:

grep -A3 "@MI" FILE > miseq_reads.fastq
grep -A3 "@HI" FILE > hiseq_reads.fastq
grep -A3 "^@HI" fastq_file | grep -v "\-\-" > hiseq_reads_file
grep -A3 "^@MI" fastq_file | grep -v "\-\-" > miseq_reads_file

enter image description here

You can upvote and accept more than one answer.

Log in to answer this question.