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

error message needing help #244

Open
elffairy90 opened this issue Jul 18, 2021 · 1 comment
Open

error message needing help #244

elffairy90 opened this issue Jul 18, 2021 · 1 comment

Comments

@elffairy90
Copy link

Hi,

Could I run my code like this? Do you see any problems? I mean for the weights_path, could it be my own big.wig of a clean sample? But, when I ran this, i ran into this following problem. I'm new to dry lab, I would really appreciate your help! Thank you!

atacworks denoise
--noisybw /data/jwang/files_atacworks/test/control_R1.mLb.clN.bigWig
--genome /data/jwang/AtacWorks/data/reference/mm10.auto.sizes
--weights_path /data/jwang/files_atacworks/training/atacworks/control_R1.mLb.clN.bigWig
--out_home "./"
--exp_name "atacworks_denoise"
--distributed
--num_workers 0

INFO:2021-07-18 10:57:51,501:AtacWorks-intervals] Generating intervals tiling across all chromosomes in sizes file: /data/jwang/AtacWorks/data/reference/mm10.auto.sizes
INFO:2021-07-18 10:57:51,598:AtacWorks-intervals] Done!
Traceback (most recent call last):
File "/usr/local/share/virtualenvs/env37/bin/atacworks", line 8, in
sys.exit(main())
File "/usr/local/share/virtualenvs/env37/lib/python3.7/site-packages/scripts/main.py", line 487, in main
extension=".bw")
File "/usr/local/share/virtualenvs/env37/lib/python3.7/site-packages/atacworks/dl4atac/utils.py", line 235, in gather_files_from_cmdline
assert path.endswith(extension)
AssertionError

@avantikalal
Copy link
Contributor

HI @elffairy90. --weights_path should be not a bigwig file but the path to a trained AtacWorks model. You can either train a model yourself using clean and noisy bigwig files (see tutorial 1) or else download one of our trained models. We recommend training a model if you have data available.

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

No branches or pull requests

2 participants