tools-iuc icon indicating copy to clipboard operation
tools-iuc copied to clipboard

Unify bwa data tables

Open bernt-matthias opened this issue 2 years ago • 1 comments

Currently there are 3 data data tables:

  • bwa_mem_indexes
  • bwa_mem2_indexes
  • bwameth_indexes

where the second has apparently no data manager.

Since version 0.2.3 bwameth also supports bwa_mem2 indices.

The bwa and bwameth data managers seems to be mostly copy paste.

So I thought that it might be a possibility to unify the data tables that also stores the creation method (and version) in an extra column. then would be easy to allow for tools accessing reference data generated by different tools.

Would be particularly nice if the new data manager would allow to port the entries in the old data tables.

bernt-matthias avatar Jan 08 '22 18:01 bernt-matthias

I think that BWA_MEM and BWA_MEM2 are not compatible, according to the BWA_MEM2 Readme:

There is a substantial reduction in index IO time due to the reduction and hardly any performance impact on read mapping. Due to this change in index structure (in commit #4b59796, 10th October 2020), you will need to rebuild the index.

gallardoalba avatar Apr 26 '22 11:04 gallardoalba