INNER CODE UNIT · Python
bars1
sstadick/perbase · paper/plot_benchmarks_comprehensive.py:66
bars1 = ax1.bar(x - width/2, [perbase_std, best_mate_fix_runtime], width,
label='perbase', color='#1f77b4')
bars2 = ax1.bar(x + width/2, [sambamba_std, sambamba_mf], width,
label='sambamba', color='#ff7f0e')
ax1.set_ylabel('Runtime (minutes)')
ax1.set_xlabel('Mode')
ax1.set_title('perbase vs sambamba: base-depth Performance')
ax1.set_xticks(x)
ax1.set_xticklabels(modes)
ax1.legend()
# Plot 2: All mate-fix methods comparison
# Sort methods by performance
sorted_indices = np.argsort(mate_fix_runtimes)
sorted_methods = [mate_fix_methods[i] for i in sorted_indices]
sorted_runtimes = [mate_fix_runtimes[i] for i in sorted_indices]