Skip to content

Commit 782c21c

Browse files
committed
adding assembly
1 parent c6d284b commit 782c21c

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

Workshops/INRB2023.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,3 +156,37 @@ In the above example, we started with two fastq files, removed adapter sequences
156156
We can combine all of that into a single `snakemake` file, and it will do all of the steps for us.
157157

158158
See the [Snakemake](../Snakemake) section for details on how to run these two commands in a single pipeline.
159+
160+
161+
# Sequence Assembly
162+
163+
See the [Sequence Assembly](../SequenceAssembly) section for a discussion of current sequence assemblers.
164+
165+
To assemble the reads from the CF patient, we can install [spades](https://cab.spbu.ru/software/spades/). Here is the [spades manual](https://cab.spbu.ru/files/release3.15.4/manual.html)
166+
167+
```
168+
mamba install -y spades
169+
```
170+
171+
or, if you did not install mamba, you can use
172+
173+
```
174+
conda install -y spades
175+
```
176+
177+
178+
Then, we can assemble the filtered bacterial sequences using spades:
179+
180+
```
181+
spades.py --meta -1 not_human/788707_20180129_S_R1.fastq.gz -2 not_human/788707_20180129_S_R2.fastq.gz -o not_human_assembly
182+
```
183+
184+
Once you have assembled the sequences, the first step is to visualise the assembly with [bandage](https://rrwick.github.io/Bandage/).
185+
186+
187+
188+
189+
190+
191+
192+

0 commit comments

Comments
 (0)