Skip to content

Commit

Permalink
change fasta header also for Sanger and consensus
Browse files Browse the repository at this point in the history
  • Loading branch information
aknijn committed Apr 1, 2021
1 parent 3fcaffb commit df77f5e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ RECoVGISAID/gisaid_uploader.py
RECoVGISAID/recovgisaid-pre.xml
RECoVGISAID/RECoVGISAID.py
RECoVGISAID/recovgisaid.xml
RECoVGISAID/recovgisaid_hospitals
RECoVGISAID/recovgisaid_users
2 changes: 1 addition & 1 deletion tools/ivar_covid_consensus.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
#else:
ln -s '$input_bam' sorted.bam &&
samtools mpileup -A -d 0 -Q 0 sorted.bam | ivar consensus -p consensus -t 0.2 -n N -q 20 -m 30 &&
sed -i "1s|.*|>$clean_name|" consensus.fa
#end if
sed -i "1s|.*|>$clean_name|" consensus.fa
]]> </command>
<inputs>
<param name="input_bam" type="data" format="bam" label="Bam file" help="Aligned reads, to trim primers and quality"/>
Expand Down

0 comments on commit df77f5e

Please sign in to comment.