We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 684fb04 + 0ec5ee8 commit 7235863Copy full SHA for 7235863
episodes/04-redirection.md
@@ -50,6 +50,19 @@ directory:
50
$ cd ~/shell_data/untrimmed_fastq
51
```
52
53
+Let's look for lines that contain `ACGT`.
54
+
55
+```bash
56
+$ grep ACGT SRR098026.fastq
57
+```
58
59
+To get only the number of lines with `ACGT`, we can use the `-c` flag.
60
+This is useful if you are unsure about the number of lines that will be found.
61
62
63
+$ grep -c ACGT SRR098026.fastq
64
65
66
Suppose we want to see how many reads in our file have really bad segments containing 10 consecutive unknown nucleotides (Ns).
67
68
::::::::::::::::::::::::::::::::::::::::: callout
0 commit comments