aschuerch / MBBI_ComputerPracticum

https://aschuerch.github.io/MBBI_ComputerPracticum/
Other
3 stars 0 forks source link

Exercise in redirection #2

Closed aschuerch closed 5 years ago

aschuerch commented 5 years ago

In https://aschuerch.github.io/MBBI_ComputerPracticum/06-redirection/index.html

Exercise

How many sequences in SRR098026.fastq contain at least 3 consecutive Ns?

    Solution

    We can do it in one step, using the | pipe:

    $ grep NNN SRR098026.fastq | wc -l

    249

The solution already introduces pipes before pipes are introduced

aschuerch commented 5 years ago

solved