zanglab / SICER2

MIT License
20 stars 15 forks source link

Write error when specifying output directory #4

Open desireetillo opened 4 years ago

desireetillo commented 4 years ago

Tried running with the following commands (also had to specify .bed inputs, as I'm also getting the same bamtobed issue reported here):

sicer -t test.bed -c ctrl.bed -s mm10 -cpu 16 -o sicer_out

Normalizing graphs by total island filitered reads per million and generating summary WIG file...

Removing temporary directory and all files in it.
Traceback (most recent call last):
  File "/usr/local/apps/sicer/2-1.0.0/bin/sicer", line 231, in <module>
    main()
  File "/usr/local/apps/sicer/2-1.0.0/bin/sicer", line 225, in main
    run_SICER.main(args)
  File "/usr/local/Anaconda/envs_app/sicer2/1.0.0/lib/python3.6/site-packages/sicer/main/run_SICER.py", line 73, in main
    make_normalized_wig.main(args, output_WIG_name, pool)
  File "/usr/local/Anaconda/envs_app/sicer2/1.0.0/lib/python3.6/site-packages/sicer/src/make_normalized_wig.py", line 46, in main
    with open(outfile_path, 'w') as outfile:
FileNotFoundError: [Errno 2] No such file or directory: 'sicer_out/test-W200-normalized.wig'

Running without the "-o" parameter (i.e. sicer -t test.bed -c ctrl.bed -s mm10 -cpu 16) gives output and my job runs to completion.