INNER CODE UNIT · Python
x
sstadick/perbase · paper/plot_benchmarks_comprehensive.py:124
x = np.arange(2) # Standard and Mate-fix
width = 0.35
bars1 = ax.bar(x - width/2, [perbase_std, best_mate_fix_runtime], width,
label='perbase', color='#1f77b4')
bars2 = ax.bar(x + width/2, [sambamba_std, sambamba_mf], width,
label='sambamba', color='#ff7f0e')
ax.set_ylabel('Runtime (minutes)')
ax.set_xlabel('Mode')
ax.set_title('perbase vs sambamba: base-depth Performance')
ax.set_xticks(x)
ax.set_xticklabels(['Standard', 'Mate-fix'])
ax.legend()
plt.tight_layout()
plt.savefig(output_dir / 'benchmark_comparison.png', dpi=300, bbox_inches='tight')
plt.savefig(output_dir / 'benchmark_comparison.pdf', bbox_inches='tight')