Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: Please install the 'stats' program #10

Open
schmittel opened this issue Nov 18, 2020 · 1 comment
Open

ERROR: Please install the 'stats' program #10

schmittel opened this issue Nov 18, 2020 · 1 comment

Comments

@schmittel
Copy link

I'm having a similar issue to https://github.com/slowkow/picardmetrics/issues/6 . When I run picardmetrics I get:

2020-11-18 08:16:00 picardmetrics config: '/cd16/software/picardmetrics/picardmetrics.conf' ERROR: Please install the 'stats' program https://github.com/arq5x/filo

The output of which stats is:

/cd16/software/bin/bin/stats

I've tried copying the stats bin to /usr/local/bin as well and echo $PATH does include stats.

This is the command I'm running:

for bam in cd16/hisat2/*.bam;
do \
/cd16/software/picardmetrics/picardmetrics run -f /cd16/software/picardmetrics/picardmetrics.conf -k -r -o /cd16/picard_metrics $bam; \
done

Many thanks

@schmittel
Copy link
Author

Solved it. Have to run picardmetrics outside of a conda environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant