Skip to content

Commit

Permalink
ongoing work
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Fiers committed Jun 15, 2012
1 parent 46327b9 commit d1c7a06
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion template2/recursive_map.jinja2
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
### run

reference={{reference}}
lastreference=$reference
lasti=0

{% for i in range(iterations) %}
{% if i <= (iterations / 2) %}{% set aln_param=param_strict %}
Expand Down Expand Up @@ -51,6 +53,11 @@ reference={{reference}}
consensus.{{i}}.fasta
fi

lastreference=$reference
reference=consensus.{{i}}.fasta
#false
lasti={{i}}
{% endfor %}

samtools mpileup -uf $lastreference ${bamfiles} \
| bcftools view -cg - \
| vcfutils.pl vcf2fq > final.consensus.fq

0 comments on commit d1c7a06

Please sign in to comment.