{"action":"created","issue":{"url":"https://api.github.com/repos/endrebak/epic/issues/38","repository_url":"https://api.github.com/repos/endrebak/epic","labels_url":"https://api.github.com/repos/endrebak/epic/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/endrebak/epic/issues/38/comments","events_url":"https://api.github.com/repos/endrebak/epic/issues/38/events","html_url":"https://github.com/endrebak/epic/issues/38","id":175823480,"number":38,"title":"OverflowError: Cannot convert float infinity to integer","user":{"login":"c-guzman","id":15654850,"avatar_url":"https://avatars.githubusercontent.com/u/15654850?v=3","gravatar_id":"","url":"https://api.github.com/users/c-guzman","html_url":"https://github.com/c-guzman","followers_url":"https://api.github.com/users/c-guzman/followers","following_url":"https://api.github.com/users/c-guzman/following{/other_user}","gists_url":"https://api.github.com/users/c-guzman/gists{/gist_id}","starred_url":"https://api.github.com/users/c-guzman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c-guzman/subscriptions","organizations_url":"https://api.github.com/users/c-guzman/orgs","repos_url":"https://api.github.com/users/c-guzman/repos","events_url":"https://api.github.com/users/c-guzman/events{/privacy}","received_events_url":"https://api.github.com/users/c-guzman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-09-08T18:11:40Z","updated_at":"2016-09-12T15:13:56Z","closed_at":null,"body":"Command used:\r\n```\r\nCommand executed:\r\n\r\n  epic --treatment Control2_treatment.bed.gz --control Control2_control.bed.gz --genome hg19 --fragment-size 150 > Control2_epic.bed\r\n```\r\n\r\nResulting error:\r\n```\r\nCommand error:\r\n  # epic --treatment Control2_treatment.bed.gz --control Control2_control.bed.gz --genome hg19 --fragment-size 150 (File: epic, Log level: INFO, Time: Thu, 08 Sep 2016 11:56:47 )\r\n  \r\n  gzip: stdout: Broken pipe\r\n  Used first 10000 reads of Control2_treatment.bed.gz to estimate a median read length of 34.0\r\n  Mean readlength: 33.3074, max readlength: 37, min readlength: 20. (File: find_readlength, Log level: INFO, Time: Thu, 08 Sep 2016 11:56:47 )\r\n  Using an effective genome fraction of 0.810858412293. (File: genomes, Log level: INFO, Time: Thu, 08 Sep 2016 11:56:47 )\r\n  Binning Control2_treatment.bed.gz (File: run_epic, Log level: INFO, Time: Thu, 08 Sep 2016 11:56:47 )\r\n  Binning chromosomes 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, M, X, Y (File: count_reads_in_windows, Log level: INFO, Time: Thu, 08 Sep 2016 11:56:47 )\r\n  Merging the bins on both strands per chromosome. (File: count_reads_in_windows, Log level: INFO, Time: Thu, 08 Sep 2016 12:00:12 )\r\n  Binning Control2_control.bed.gz (File: run_epic, Log level: INFO, Time: Thu, 08 Sep 2016 12:00:13 )\r\n  Binning chromosomes 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, M, X, Y (File: count_reads_in_windows, Log level: INFO, Time: Thu, 08 Sep 2016 12:00:13 )\r\n  Merging the bins on both strands per chromosome. (File: count_reads_in_windows, Log level: INFO, Time: Thu, 08 Sep 2016 12:03:40 )\r\n  Merging ChIP and Input data. (File: helper_functions, Log level: INFO, Time: Thu, 08 Sep 2016 12:03:40 )\r\n  2510169508.0 effective_genome_length (File: compute_background_probabilites, Log level: DEBUG, Time: Thu, 08 Sep 2016 12:03:40 )\r\n  200 window size (File: compute_background_probabilites, Log level: DEBUG, Time: Thu, 08 Sep 2016 12:03:40 )\r\n  0 total chip count (File: compute_background_probabilites, Log level: DEBUG, Time: Thu, 08 Sep 2016 12:03:40 )\r\n  0.0 average_window_readcount (File: compute_background_probabilites, Log level: DEBUG, Time: Thu, 08 Sep 2016 12:03:40 )\r\n  1 island_enriched_threshold (File: compute_background_probabilites, Log level: DEBUG, Time: Thu, 08 Sep 2016 12:03:40 )\r\n  4.0 gap_contribution (File: compute_background_probabilites, Log level: DEBUG, Time: Thu, 08 Sep 2016 12:03:40 )\r\n  1.0 boundary_contribution (File: compute_background_probabilites, Log level: DEBUG, Time: Thu, 08 Sep 2016 12:03:40 )\r\n  Traceback (most recent call last):\r\n    File \"/usr/local/anaconda2/bin/epic\", line 4, in <module>\r\n      __import__('pkg_resources').run_script('bioepic==0.1.6', 'epic')\r\n    File \"/usr/local/anaconda2/lib/python2.7/site-packages/pkg_resources.py\", line 461, in run_script\r\n      self.require(requires)[0].run_script(script_name, ns)\r\n    File \"/usr/local/anaconda2/lib/python2.7/site-packages/pkg_resources.py\", line 1194, in run_script\r\n      execfile(script_filename, namespace, namespace)\r\n    File \"/usr/local/anaconda2/lib/python2.7/site-packages/bioepic-0.1.6-py2.7.egg-info/scripts/epic\", line 165, in <module>\r\n      run_epic(args)\r\n    File \"/usr/local/anaconda2/lib/python2.7/site-packages/epic/run/run_epic.py\", line 45, in run_epic\r\n      compute_background_probabilities(nb_chip_reads, args)\r\n    File \"/usr/local/anaconda2/lib/python2.7/site-packages/epic/statistics/compute_background_probabilites.py\", line 49, in compute_background_probabilities\r\n      boundary_contribution, genome_length_in_bins)\r\n    File \"/usr/local/anaconda2/lib/python2.7/site-packages/epic/statistics/compute_score_threshold.py\", line 24, in compute_score_threshold\r\n      current_scaled_score = int(round(score / BIN_SIZE))\r\n  OverflowError: cannot convert float infinity to integer\r\n```\r\n\r\nAny ideas?"},"comment":{"url":"https://api.github.com/repos/endrebak/epic/issues/comments/246380606","html_url":"https://github.com/endrebak/epic/issues/38#issuecomment-246380606","issue_url":"https://api.github.com/repos/endrebak/epic/issues/38","id":246380606,"user":{"login":"c-guzman","id":15654850,"avatar_url":"https://avatars.githubusercontent.com/u/15654850?v=3","gravatar_id":"","url":"https://api.github.com/users/c-guzman","html_url":"https://github.com/c-guzman","followers_url":"https://api.github.com/users/c-guzman/followers","following_url":"https://api.github.com/users/c-guzman/following{/other_user}","gists_url":"https://api.github.com/users/c-guzman/gists{/gist_id}","starred_url":"https://api.github.com/users/c-guzman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c-guzman/subscriptions","organizations_url":"https://api.github.com/users/c-guzman/orgs","repos_url":"https://api.github.com/users/c-guzman/repos","events_url":"https://api.github.com/users/c-guzman/events{/privacy}","received_events_url":"https://api.github.com/users/c-guzman/received_events","type":"User","site_admin":false},"created_at":"2016-09-12T15:13:56Z","updated_at":"2016-09-12T15:13:56Z","body":"Great! Thank you!"}}
{"actor":{"display_login":"c-guzman"}}