Skip to content

Commit

Permalink
replace nextPolish.py with nextPolish1.py
Browse files Browse the repository at this point in the history
  • Loading branch information
moold committed Jun 2, 2020
1 parent b5c33c8 commit 993d243
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/bwa.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ for ((i=1; i<=${round};i++)); do
samtools index -@ ${threads} sgs.sort.bam;
samtools faidx ${input};
#polish genome file
python NextPolish/lib/nextPolish.py -g ${input} -t 1 -p ${threads} -s sgs.sort.bam > genome.polishtemp.fa;
python NextPolish/lib/nextPolish1.py -g ${input} -t 1 -p ${threads} -s sgs.sort.bam > genome.polishtemp.fa;
input=genome.polishtemp.fa;
#step2:
#index genome file and do alignment
Expand All @@ -23,7 +23,7 @@ for ((i=1; i<=${round};i++)); do
samtools index -@ ${threads} sgs.sort.bam;
samtools faidx ${input};
#polish genome file
python NextPolish/lib/nextPolish.py -g ${input} -t 2 -p ${threads} -s sgs.sort.bam > genome.nextpolish.fa;
python NextPolish/lib/nextPolish1.py -g ${input} -t 2 -p ${threads} -s sgs.sort.bam > genome.nextpolish.fa;
input=genome.nextpolish.fa;
done;
#Finally polished genome file: genome.nextpolish.fa

0 comments on commit 993d243

Please sign in to comment.