ntanmayee / decoden

🌊 Analyse experimental conditions and replicates jointly to remove cell-type specific bias in multi-condition ChIP-Seq
GNU General Public License v3.0
8 stars 1 forks source link

Usage for run_decoden with no arguments #3

Closed MarekGierlinski closed 1 year ago

MarekGierlinski commented 1 year ago

When running run_decoden.py with no arguments, one would expect a 'usage' comment. Instead, there is an error with some mysterious hard-wired directory:

> python run_decoden.py

██████╗ ███████╗ ██████╗ ██████╗ ██████╗ ███████╗███╗   ██╗
██╔══██╗██╔════╝██╔════╝██╔═══██╗██╔══██╗██╔════╝████╗  ██║
██║  ██║█████╗  ██║     ██║   ██║██║  ██║█████╗  ██╔██╗ ██║
██║  ██║██╔══╝  ██║     ██║   ██║██║  ██║██╔══╝  ██║╚██╗██║
██████╔╝███████╗╚██████╗╚██████╔╝██████╔╝███████╗██║ ╚████║
╚═════╝ ╚══════╝ ╚═════╝ ╚═════╝ ╚═════╝ ╚══════╝╚═╝  ╚═══╝
-----------------------------------------------------------
Narendra, T., Visonà, G., de Jesus Cardona, C., & Schweikert,
G. (2022). Multi-histone ChIP-Seq Analysis with DecoDen. bioRxiv.
-----------------------------------------------------------

Traceback (most recent call last):
  File "/cluster/gjb_lab/mgierlinski/projects/decoden_test/run_decoden.py", line 129, in <module>
    main(args)
  File "/cluster/gjb_lab/mgierlinski/projects/decoden_test/run_decoden.py", line 24, in main
    with open(args.files_reference, "r") as f:
FileNotFoundError: [Errno 2] No such file or directory: '../DecoDen_GV/data/shallow_e114_200bp_bedGraph_files/sample_files.json'
ntanmayee commented 1 year ago

Errors in parsing arguments in run_decoden.py - there are hard coded arguments and required arguments are not specified correctly. Issues #7 #6 are also related to this.

Same error is also found in run_decoden_replicates.py.