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

--wmean not working #191

Closed
brightgreendot opened this issue Aug 18, 2017 · 3 comments
Closed

--wmean not working #191

brightgreendot opened this issue Aug 18, 2017 · 3 comments
Assignees
Labels

Comments

@brightgreendot
Copy link

Hi guys,

I keep stumbling upon this error when trying to compute the weighted mean.

[xxx@node-head1 xxx]$ cat k9_bedmap.o441063

BEDMAP...
May use bedmap --help for more help.

Error: Unknown Operation: wmean. Program Error Detected.
May use bedmap --help for more help.

[xxx@node-head1 xxx]$ bedmap --version
bedmap
citation: http://bioinformatics.oxfordjournals.org/content/28/14/1919.abstract
version: 2.4.27 (typical)
authors: Shane Neph & Scott Kuehn

Any ideas? This is the command:

bedmap --bp-ovr 1 --echo --mean --wmean --delim '\t' $temp_d/Gene_coordinates.sorted.bed $temp_d/data.sorted.bed > $temp_d/Gene_coordinates_with_mean_score.bed

Thanks a lot!

@sjneph sjneph self-assigned this Aug 18, 2017
@sjneph
Copy link
Collaborator

sjneph commented Aug 18, 2017

That looks like a legit bug! I'm sorry for the troubles and thanks for reporting. We will release a source path soon.

@sjneph sjneph added the bug label Aug 18, 2017
@sjneph
Copy link
Collaborator

sjneph commented Aug 18, 2017

This has been fixed in commit 6eb937a
You can download and build v2p4p28 so that the --wmean option is available in bedmap. We expect to release binaries for this version of BEDOPS fairly soon. Again, thank you for pointing out this bug!

@sjneph sjneph closed this as completed Aug 18, 2017
@brightgreendot
Copy link
Author

Nice! Thanks a lot!

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

No branches or pull requests

2 participants