Skip to content

Commit cfc2844

Browse files
authored
Update 1.4.2_gene_finding_II.md
1 parent 11e92f8 commit cfc2844

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

_episodes/1.4.2_gene_finding_II.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -244,9 +244,9 @@ You no longer need the pharokka database and we recommend modifying the followin
244244
> mkdir -p $outdir
245245
>
246246
> # get the contig.gff and contig.fasta
247-
> grep $contig_name 10_pharokka/results/pharokka.gff > $outdir/$contig_name.gff
247+
> grep $contig_name 10_pharokka/results/pharokka.gff > $outdir/${contig_name}.gff
248248
>
249-
> sed -n '/$contig_name/,/>/p' $assembly | head -n -1 > $outdir/$contig_name.fasta
249+
> sed -n '/$contig_name/,/>/p' $assembly | head -n -1 > $outdir/${contig_name}.fasta
250250
>
251251
> # next, we get the contig.gbk using a python script
252252
> # change the names accordingly
@@ -257,7 +257,7 @@ You no longer need the pharokka database and we recommend modifying the followin
257257
> # the inputs for the following python script should be
258258
> # python3 script.py input.gbk output.gbk $contig_name
259259
> input_gbk='10_pharokka/results/pharokka.gbk'
260-
> output_gbk='20_selected_contig/$contig_name.gbk'
260+
> output_gbk='20_selected_contig/${contig_name}.gbk'
261261
>
262262
> python3 ../python_scripts/1.4_extract_contig.py $input_gbk $output_gbk $contig_name
263263
>
@@ -270,9 +270,9 @@ You no longer need the pharokka database and we recommend modifying the followin
270270
> # define all your file paths for readability
271271
> outdir='20_selected_contig/'
272272
>
273-
> fasta='20_selected_contig/$contig_name.fasta'
274-
> gff='20_selected_contig/$contig_name.gff'
275-
> gbk='20_selected_contig/$contig_name.gbk'
273+
> fasta='20_selected_contig/${contig_name}.fasta'
274+
> gff='20_selected_contig/${contig_name}.gff'
275+
> gbk='20_selected_contig/${contig_name}.gbk'
276276
>
277277
> pharokka_plotter.py -i $fasta -n $outdir/pharokka_plot --gff $gff --genbank $gbk
278278
>

0 commit comments

Comments
 (0)