cbg-ethz / shorah

Repo for the software suite ShoRAH (Short Reads Assembly into Haplotypes)
GNU General Public License v3.0
39 stars 14 forks source link

Remove bundled ancient samtools 0.1.19 and move to building against upstream htslib #47

Closed SoapZA closed 5 years ago

SoapZA commented 6 years ago

This is much easier and shifts the complexity away from ShoRAH.

SoapZA commented 6 years ago

@DrYak any movement here? I would want this in before release 2.0.0

DrYak commented 6 years ago

Working on it, that's my next biggest point on my todo list. I think I should be able to have something by the end of the next week. Would that be okay for your timing ?

SoapZA commented 6 years ago

@DrYak how far are we here?

DrYak commented 6 years ago

Sorry got distracted by some problems the cancer-team neighbors were having

I'm working on it. Getting a hang on how pileup have changed between versions (the API that ShoRAH has been using has been moved out of the library and into samtools executables themselves )

DrYak commented 6 years ago

(Sorry for slow updates, was sick last week)

B2W ported to HTSLib and produces identical results for the few test cases I have laying around.

Bascially :

Now moving onto pushing the changes to FIL, too.

DrYak commented 6 years ago

And FIL port to HTSLib has been pushed to the with_htslib branch.

Basically the same mods :

DrYak commented 6 years ago

Updated Travis CI yaml file to fetch HTSLib (from Debian Med to have a not to ancient version). Updated configure.ac to request C++11 (the antediluvian GCC 4.8.3 featured on Trust Thar used by defaults to older dialects).

Now Travis tests successfully pass.

Speaking of tests, I'm also able to replicate the result I'm getting from pre-HTSLib FIL and B2W.

I'll ask Susie for datafiles for which she was receiving bad/weird results that she suspected were due to bugs from a way to old samtools lib version.

I'm done on my side, I'll need your knowledge of Meson to make the same change as I did to the autotools/m4 side.

SoapZA commented 6 years ago

Please open a pull request so we can review it

DrYak commented 6 years ago

Here it is

As said, the code is not actually mergeable, the meson-side of things need to be done.

Also, maybe you'll request more clean-ups. (splitting into functions to make the logical steps stand out ?)

DrYak commented 5 years ago

Thanks for your help