Our Sponsors



Download BioinformaticsOnline(BOL) Apps in your chrome browser.




Question: Question: How to extract 50% of the reads?

Radha Agarkar
3018 days ago

Question: How to extract 50% of the reads?

I would like to extract a subset of PE reads (50%) and store them in seperate files. It should be in both way "split by middle" or "random". Is there any way to achieve it?

Answers
0

I guess, it will be easier to "split by middle".

My suggestions: Count the total number of reads -> use head or tail -n #num command to extract.