Open merszym opened 2 years ago
This was fixed in my PR last week, but it seems the change hasn't made it into a new release here on Github (and thus not into bioconda/biocontainer).
https://github.com/fbreitwieser/krakenuniq/pull/117
@alekseyzimin are there any plans for a new release anytime soon?
Ah nice, so its only a matter of time then :) Thanks for looking into it!
Sure, in fact this has just passed my internal testing so I will release it today.
On Thu, Oct 6, 2022 at 2:54 AM Fredrik Boulund @.***> wrote:
This was fixed in my PR last week, but it seems the change hasn't made it into a new release here on Github (and thus not into bioconda/biocontainer).
117 https://github.com/fbreitwieser/krakenuniq/pull/117
@alekseyzimin https://github.com/alekseyzimin are there any plans for a new release anytime soon?
— Reply to this email directly, view it on GitHub https://github.com/fbreitwieser/krakenuniq/issues/118#issuecomment-1269435313, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGPXGHN45VX56ZCQE2RW5C3WBZZTZANCNFSM6AAAAAAQZWGH4I . You are receiving this because you were mentioned.Message ID: @.***>
-- Dr. Alexey V. Zimin Associate Research Scientist Department of Biomedical Engineering, Johns Hopkins University, Baltimore, MD, USA (301)-437-6260 website http://ccb.jhu.edu/people/alekseyz/ blog http://masurca.blogspot.com
The original issue seems resolved in the recent 1.0.1a release. However, I don't get anything other than the two comment lines at the top of the report file when I run KrakenUniq in a container (in my testing I used the official Biocontainer image docker://quay.io/biocontainers/krakenuniq:1.0.1a--pl5321h19e8d03_1
). The report file looks just fine if I run the same version with conda outside of a Singularity container. Not sure what is going on. This may actually be the issue reported in #115
Problem and Responsible Code
Hi
There is a problem in the way the report-file is created \ More specific: the way the CL: statement in the header is created doesnt work as expected in some cases\ (in my case, within a singularity container)
Cause of the problem https://github.com/fbreitwieser/krakenuniq/blob/5bb224c15c00da61bfddd274b0932f9b7201a16f/scripts/krakenuniq#L233
Result\ Running krakenuniq with singularity causes the report-files to be spammed with lines..
Steps to Reproduce the Problem
Create and execute a test-perl-script
it returns the command, as expected
>>> perl test.pl
Open a singularity shell within a krakenuniq container
execute the test-file
this returns a lot of lines, e.g.
Solution
Currently I just filter the report again with
echo "\$(grep -E '^(#|%|[0-9]).*' krakenUniq.report)" > krakenUniq.report
But maybe there is a more elegant way to capture the executed command in the header?
Thanks a lot!