File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ bioinformatics subjects:
99* [ File formats] ( file_formats.md )
1010* [ Quality Control] ( qc.md )
1111* [ Variant Calling] ( variant_calling.md )
12+ * [ Assembly] ( assembly.md )
1213* [ 16s Metabarcoding Analysis] ( 16s.md )
1314* [ Whole Metagenome Sequencing] ( wms.md )
1415* [ Metagenome Assembly] ( meta_assembly.md )
Original file line number Diff line number Diff line change @@ -81,17 +81,17 @@ You can read how Pilon works in detail [here](https://github.com/broadinstitute/
8181Before running Pilon itself, you have to map your reads back to the assembly!
8282
8383```
84- bowtie2-build $ assembly $output/index
85- (bowtie2 -x $output/index -1 $r1 -2 $r2 | samtools view -bS -o $mapping - ) 2> bowtie.err
86- samtools sort $mapping $mapping.sorted
87- samtools index $mapping.sorted .bam
84+ bowtie2-build assembly.fasta index_prefix
85+ (bowtie2 -x index_prefix -1 read_1.fastq -2 read_2.fastq | samtools view -bS -o output_to_sort.bam - ) 2> bowtie.err
86+ samtools sort output_to_sort.bam alignment.bam
87+ samtools index alignment .bam
8888```
8989
9090Run Pilon with the following command:
9191
9292```
9393module load pilon
94- pilon --genome $ assembly --frags $mapping.sorted. bam --output $output
94+ pilon --genome assembly.fasta --frags alignment. bam --output pilon_output
9595```
9696
9797Once Pilon is finished running, compare the new assembly with the old one using Quast!
You can’t perform that action at this time.
0 commit comments