missing len entry

Issue #2 resolved
Former user created an issue

running snakemake -n gives the error below. I have previously successfully used a similar setup. It appears that in commit 5ed1e53 you removed "len" from the config.yaml. Adding "len: 20" back in fixes it. I am on python 3.5.1, installed mageck, vispr and mageck-vispr using each ones github setup.py.

ConfigError in line 21 of /home/laeb/data/bioinf/magecksonli3/Snakefile:
Error in configuration file: Missing len entry.
  File "/home/laeb/data/bioinf/magecksonli3/Snakefile", line 21, in <module>
  File "/home/laeb/.pyenv/versions/3.5.1/envs/mapy/lib/python3.5/site-packages/mageck_vispr-0.4.6-py3.5.egg/mageck_vispr/__init__.py", line 26, in postprocess_config
  File "/home/laeb/.pyenv/versions/3.5.1/envs/mapy/lib/python3.5/site-packages/mageck_vispr-0.4.6-py3.5.egg/mageck_vispr/check_config.py", line 117, in check_config
  File "/home/laeb/.pyenv/versions/3.5.1/envs/mapy/lib/python3.5/site-packages/mageck_vispr-0.4.6-py3.5.egg/mageck_vispr/check_config.py", line 113, in _check_config
  File "/home/laeb/.pyenv/versions/3.5.1/envs/mapy/lib/python3.5/site-packages/mageck_vispr-0.4.6-py3.5.egg/mageck_vispr/check_config.py", line 108, in _check_config

Comments (3)

  1. Johannes Köster

    You are right! Sorry for the inconvenience. I have added len again in version 0.4.7, since it is still needed by the sgrna annotation script. The new version will appear on Bioconda very soon.

  2. Log in to comment