lihuamei / DeconPeaker

a deconvolution model to identify cell types based on chromatin accessibility in ATAC-Seq data of mixture samples
5 stars 6 forks source link

deconPeaker.py does not work #1

Open jingyu0602 opened 3 years ago

jingyu0602 commented 3 years ago

Hi Huamei,

I'm trying to predict cell proportions with your tools for ATAC-seq data and it does not work even I'm running the example data. The command with issue is "deconPeaker.py deconvolution --lib-strategy=ATAC-Seq --mixture=test\examples\ATAC-Seq\GSE74912_Corces_MR_synthetic_mixture_counts_data.xls --pure=test\examples\ATAC-Seq\GSE74912_Corces_MR_pure_readcounts_signature_matrix.xls --format=TABLE --pvalue=FALSE --outdir=results\GSE74912_Corces_MR". It does not generate a result folder and results, it finishes quickly and seems like not running but no error is shown. Is there something I did wrong or issues with the script? Look forward to your reply

Jingyu

lihuamei commented 3 years ago

Dear Jingyu, I will check the bugs and get back to you as soon as they are fixed. greetings, Huamei Li

At 2021-07-15 13:45:40, "jingyu0602" @.***> wrote:

Hi Huamei,

I'm trying to predict cell proportions with your tools for ATAC-seq data and it does not work even I'm running the example data. The command with issue is "deconPeaker.py deconvolution --lib-strategy=ATAC-Seq --mixture=test\examples\ATAC-Seq\GSE74912_Corces_MR_synthetic_mixture_counts_data.xls --pure=test\examples\ATAC-Seq\GSE74912_Corces_MR_pure_readcounts_signature_matrix.xls --format=TABLE --pvalue=FALSE --outdir=results\GSE74912_Corces_MR". It does not generate a result folder and results, it finishes quickly and seems like not running but no error is shown. Is there something I did wrong or issues with the script? Look forward to your reply

Jingyu

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

jingyu0602 commented 3 years ago

Great! Thanks for your reply!

lihuamei commented 3 years ago

Hi, jingyu! I have refactored the code and updated the python version to 3. Since DeconPeaker will call R, please make sure that all the dependency packages are installed correctly. If you have any questions, please feel free to contact me.

在 2021-07-15 14:22:55,"jingyu0602" @.***> 写道:

Great! Thanks for your reply!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

jingyu0602 commented 3 years ago

Hi Huamei,

Thanks for fixing bugs! I'm trying the example data, should I type something after (Pdb) to run? I'm not sure what to input here. Look forward to your reply.

截屏2021-07-17 上午10 28 36

Jingyu

lihuamei commented 3 years ago

Hi Jingyu, I have deleted the pdb debug line, please clone DeconPeaker again.

jingyu0602 commented 3 years ago

Hi Huamei, thanks for fixing this bug and it runs!

Cheers

jingyu0602 commented 3 years ago

Hi Huamei,

Maybe true_VS_est_scatter_plot.py also has issues? or something I did wrong? The error is shown below: File "./test/true_VS_est_scatter_plot.py", line 32 if len(sys.argv[1 : ]) <> 3: ^ SyntaxError: invalid syntax

Look forward to your reply Jingyu

lihuamei commented 3 years ago

Hi Huamei,

Maybe true_VS_est_scatter_plot.py also has issues? or something I did wrong? The error is shown below: File "./test/true_VS_est_scatter_plot.py", line 32 if len(sys.argv[1 : ]) <> 3: ^ SyntaxError: invalid syntax

Look forward to your reply Jingyu

Hi, Jingyu, this is an error caused by the python version, I have fixed it, please re-run it.

jingyu0602 commented 3 years ago

Hi Huamei,

Thanks for all you did. But it still failed when I tried running example data to plot. Is it issue of myself or the code?

截屏2021-07-17 下午5 38 43

Jingyu

lihuamei commented 3 years ago

Hi Huamei,

Thanks for all you did. But it still failed when I tried running example data to plot. Is it issue of myself or the code?

截屏2021-07-17 下午5 38 43

Jingyu

Hi Yu Jing, just warning messages, not errors. I have reset the warning level and can re-clone it.

jingyu0602 commented 3 years ago

Hi Huamei, it works smoothly. Thanks for all you done. Cheers