Skip to content

Commit 49046bc

Browse files
committed
update
1 parent 29ddd2c commit 49046bc

File tree

2 files changed

+23
-11
lines changed

2 files changed

+23
-11
lines changed

source/content/.obsidian/workspace.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
"state": {
1414
"type": "markdown",
1515
"state": {
16-
"file": "BSGOU-System/RNA-seq Tool Kits/DeVlog/20250729-fenA-processx_convert-theme.md",
16+
"file": "Dry/Software Engineering/FASTQ Cheat Sheet - Linux OS.md",
1717
"mode": "source",
1818
"source": false
1919
},
2020
"icon": "lucide-file",
21-
"title": "20250729-fenA-processx_convert-theme"
21+
"title": "FASTQ Cheat Sheet - Linux OS"
2222
}
2323
}
2424
]
@@ -172,6 +172,14 @@
172172
},
173173
"active": "438080deb723bad3",
174174
"lastOpenFiles": [
175+
"Dry/Software Engineering/Extract Tissue CIDs from Stereo-seq.md",
176+
"Dry/Software Engineering/CARLIN Lineage Analysis on Stereo-seq.md",
177+
"Dry/Nucleic Acid/Spatial Transcriptomics.md",
178+
"Dry/Software Engineering/FASTQ Cheat Sheet - Linux OS.md",
179+
"Dry/Software Engineering/index.md",
180+
"Dry/Software Engineering/BAM file Cheat Sheet - Linux OS.md",
181+
"Dry/Software Engineering/TikZ.md",
182+
"BSGOU-System/RNA-seq Tool Kits/DeVlog/20250729-fenA-processx_convert-theme.md",
175183
"BSGOU-System/RNA-seq Tool Kits/BRAP.md",
176184
"conflict-files-obsidian-git.md",
177185
"BSGOU-System/Journal Club/index.md",
@@ -188,20 +196,12 @@
188196
"BSGOU-System/Journal Club/JC000013.md",
189197
"BSGOU-System/Journal Club/Is Inflammaging Really Universal? This Study Says Nope.md",
190198
"BSGOU-System/Journal Club",
191-
"BSGOU-System/RNA-seq Tool Kits/DeVlog/20250729-fenA-processx_convert-theme.md",
192199
"BSGOU-System/RNA-seq Tool Kits/DeVlog/index.md",
193200
"BSGOU-System/RNA-seq Tool Kits/index.md",
194201
"BSGOU-System/RNA-seq Tool Kits/DeVlog",
195202
"BSGOU-System/RNA-seq Tool Kits/GREP1.md",
196-
"Dry/Software Engineering/BAM file Cheat Sheet - Linux OS.md",
197-
"Dry/Software Engineering/CARLIN Lineage Analysis on Stereo-seq.md",
198-
"Wet/Nucleic Acid/in situ hybridization.md",
199-
"BSGOU-System/index.md",
200203
"BSGOU-System/RNA-seq Tool Kits",
201204
"BSGOU-System",
202-
"Dry/Software Engineering/Extract Tissue CIDs from Stereo-seq.md",
203-
"Dry/Software Engineering/FASTQ Cheat Sheet - Linux OS.md",
204-
"Dry/Software Engineering/TikZ.md",
205205
"Wet/Reagents",
206206
"00.Images/Workflow-of-CID-mapping.png",
207207
"00.Images",

source/content/Dry/Software Engineering/FASTQ Cheat Sheet - Linux OS.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,16 @@ Check few lines of fastq.gz:
1818

1919
```bash
2020
gunzip -c my_fastq.fastq.gz | head -n 10
21-
```
21+
```
22+
23+
Search a sequence from **compressed FASTQ (`.fq.gz`)**:
24+
25+
```bash
26+
zcat your_file.fq.gz | grep -B1 -A2 "ATCGGACCTA" --no-group-separator > matched_reads.fq
27+
```
28+
29+
30+
Search a sequence from **uncompressed FASTQ**:
31+
```bash
32+
grep -B1 -A2 "ATCGGACCTA" your_file.fq --no-group-separator > matched_reads.fq
33+
```

0 commit comments

Comments
 (0)