Closed DrYak closed 6 years ago
Lastly, we'll also have to pay attention to minor detail between the C++ and the python sides that can come biting us back like the locale causing diverging interpretations of isalnum
, \w
versus ASCII rule and POSIX [:alpha:]
.
(Which can also be a problem with printing %f
)
I don't know how many people could be running this on their desktops/workstation (hello, French locale !)
I tested 0933ede8352fe1dc0f866760a4f3dfa418a65ac7 and it fails when there is a dot in the reference name (I just renamed >reference
to >reference.2
in examples/ref_genome.fasta
and realigned. The problem seems to be that diri_sampler
only creates one debug file and one sampling file without window information: w-reference.dbg
instead of w-reference.2-1-201.dbg, w-reference.2-68-268.dbg
and so on. Would you please give a look?
?!?!?
I did exactly that :
sed
ed the reference name to reference.2
smalt
ed a new .bam file according to the README.meshorah amplicon
on it (using freshly installed files)Are you sure there's no old version of diri_sampler
at the wrong part of your search path (cf. your pullrequest #48 not always transferring the files where it should, and pullrequest #51 about searching them) ?
What you see is the behaviour of the old unpatched diri_sampler
(using .find('.')
instead of .rfind(".reads")
, as if you were still having an old version left dangling around.
Looks like you are right. I need to check this.
Tomorrow, I'll rebase and merge if tests pass.
You were right. The reason was that in this PR we had the old setup.py
that didn't work with meson + pip.
I was trying to address too many issues at the same time and I created some confusion, sorry.
Rebased against latest master (that includes the latest setup.py
).
Everything seems to work, as it should.
Thanks for the support!
Did a quick edit today to handle issue #32 and weird characters in fasta headers.
Questions :