TheBrownLab / PhyloFisher

PhyloFisher is a software package written in Python3 that can be used for the creation, analysis, and visualization of phylogenomic datasets that consist of eukaryotic protein sequences.
MIT License
31 stars 15 forks source link

forest.py produces an empty directory #84

Closed miferg closed 1 year ago

miferg commented 1 year ago

I installed phylofisher through anaconda in linux and began an analysis on 10 genomes of interest with unknown taxonomic affiliations. I created the input_metadata.tsv file following the Detailed Example Workflow and ran the config.py, fisher.py, informant.py, working_dataset_constructor.py, and sgt_constructor.py without issues.

Now I have to use the forest.py script but the output directory "forest_out_Jul.06.2023" is empty (no SVGs nor TSV files) regardless if the --local_run flag was used.

What could be causing this behavior?

Thanks in advance, Miguel

atice commented 1 year ago

Hi Miguel,

Could you provide me with the exact command you ran. Also are you running this on a headless server or your local machine?

Thanks, Alex

Alexander K. Tice, Ph.D. Department of Biological Sciences Mississippi State University 027 Harned Hall Lab Telephone: 662-325-4008


From: Miguel F. Romero @.> Sent: Thursday, July 6, 2023 12:26 PM To: TheBrownLab/PhyloFisher @.> Cc: Subscribed @.***> Subject: [TheBrownLab/PhyloFisher] forest.py produces an empty directory (Issue #84)

I installed phylofisher through anaconda in linux and began an analysis on 10 genomes of interest with unknown taxonomic affiliations. I created the input_metadata.tsv file following the Detailed Example Workflow and ran the config.py, fisher.py, informant.py, working_dataset_constructor.py, and sgt_constructor.py without issues.

Now I have to use the forest.py script but the output directory "forest_out_Jul.06.2023" is empty (no SVGs nor TSV files) regardless if the --local_run flag was used.

What could be causing this behavior?

Thanks in advance, Miguel

— Reply to this email directly, view it on GitHubhttps://secure-web.cisco.com/1DtbCjiFyCObvvfJ0WOAp7oDuWc2M-n6Fs-435GQJ5gp6kwiGMXFPNL_DbNml2KkQiRGhGi-nwJUt6B97RzB3U6HYUwkJUVhbReUN_YQPglWxfBf6X78f5VPtlDdClLoV31P2qbSqR-ApXGz4cTKYkkkCyWECltqQSyGX9m9E5mEQkET1s8rXonsVqSxga7IASojDsSFZGFJjzrR6pMAWh74JzvMSyxc7PsxH5tUCvSgsxBH0Q-Bb90Ne3YJvLHfQMjHsgheKvw6QtbQJn1wu_ho2MnW_-9wVvL84pCeWoaF9KomQN7E6J-O3yfApPmNc/https%3A%2F%2Fgithub.com%2FTheBrownLab%2FPhyloFisher%2Fissues%2F84, or unsubscribehttps://secure-web.cisco.com/1QV61TkpaumrDetDng4VfoLwLQbAyYQdYDQf60mgdj69iP1rxHq-RumM7Vcnz2NY27hQcMhMVya2VLKq3HPEvZq_Ay82Tny_aGeyhQ5jd4hTjab41xfBo5zra_reqAeu4RqDAF5v1LhGCy8kkyUlJPxE479_E2P6UjU1V49kPWmE0BQGv_7XCqfV71tOu5LcRadraw1X4k1l3bFfRqe94hXQxOkgV3ujJD1GNSZA3KAU7RfoXb5nSXeIExdWLpzkwkYFxEkBr1f1OiYjplLz4BV8tPfaAUgk3WcwC1f6cIhD4R7WEv0UwgAAkjSACN_Tl/https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FADA4OKY66WS2GLOYQCNAO53XO3YLJANCNFSM6AAAAAA2AXUQA4. You are receiving this because you are subscribed to this thread.Message ID: @.***>

miferg commented 1 year ago

Hi Alex,

I ran the previous scripts in a headless server and downloaded the .tar.gz file to my local machine. My local machine runs on linux, so I installed phylofisher using anaconda on it as well. The command that I am using is: forest.py --local_run -i sgt_constructor_out_Jul.04.2023-local.tar.gz

robert-ervin-jones commented 1 year ago

Hi Miguel,

Do you get any errors, or is it just an empty directory with no errors?

Best, Robert

atice commented 1 year ago

Will you try/look into two things for me if you don't mind.

  1. Switch the order of the commands first. -i followed by --local_run
  2. If that does not work, open the .tar.gz and make sure it has output in it.

Alexander K. Tice, Ph.D. Department of Biological Sciences Mississippi State University 027 Harned Hall Lab Telephone: 662-325-4008


From: Miguel F. Romero @.> Sent: Thursday, July 6, 2023 12:47 PM To: TheBrownLab/PhyloFisher @.> Cc: Tice, Alex @.>; Comment @.> Subject: Re: [TheBrownLab/PhyloFisher] forest.py produces an empty directory (Issue #84)

Hi Alex,

I ran the previous scripts in a headless server and downloaded the .tar.gz file to my local machine. My local machine runs on linux, so I installed phylofisher using anaconda on it as well. The command that I am using is: forest.py --local_run -i sgt_constructor_out_Jul.04.2023-local.tar.gz

— Reply to this email directly, view it on GitHubhttps://secure-web.cisco.com/1x3kcPol5OH2jl5kbhVQ9fKGvoAoFgsK7Ta77x9Xr9O2kdzW03va5clbVs-SaKg16xbj4BkMOdyolwSED--kr6Oa5O7z6JJ_Lp2vq8TZ7iDCnQGLlK6_Aqs3Q1FsqNiIp4sz6XMaAYSWfDs4jYBWuPbLGEuK5MjwobtkYhmufHxN38rqaX9-vLZc77Zd54gvnCFo7uzgHT4xjHqIwGctps2kA6jyyaZ0mT4-NXza3aK5-5ollSsUSIO82hDBkLiQ_QubzIF_kGdAqqG6a8k9SXPGC4VS-HL7peahrcCZWiZwV9c9ZU7pJOxr4x5Zu0i3_/https%3A%2F%2Fgithub.com%2FTheBrownLab%2FPhyloFisher%2Fissues%2F84%23issuecomment-1624086595, or unsubscribehttps://secure-web.cisco.com/1rjL0F6cZ7gp0pry8nZQES6IcAbPPom-5_EtHMtFe9uQJ-7Jc_8AsDq-cucAhRweMkCKjgI6tTFxxUdcsCQ1YmT2HvQrcRWvlCyqp1_7Y-JcD5-vu8Sgqc3xh_LWSC40A07-agaU5uFJlRyMG20NFXVCNgQj2HdyERykx8Ak4J4Of_OtgiHt0hudt8ATeCiVQI2Itz5WW7ycBbXgifXLWsDxKGV_nqymmRkbHDAJtJKjYOekuPta3qE2XOrNSleY7yIGR2G9YAIYyooEwafRevFzwlc60L7bO8fmdXIDieA7VA4sFrfiQpKLI_Wr0ji4n/https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FADA4OKZIWPCCOWZNSHCCCMDXO324VANCNFSM6AAAAAA2AXUQA4. You are receiving this because you commented.Message ID: @.***>

miferg commented 1 year ago

Hi Robert,

I am not getting any message at all, just the empty output.

Alex:

  1. I tried the following command: forest.py -i sgt_constructor_out_Jul.04.2023-local.tar.gz --local_run With the same result.
  2. The .tar.gz is not empty. It has the metadata and color files, as well as the trees directory containing the .final, .raxmlbestTree, and .trimmed files for each gene. All of these files look good.
robert-ervin-jones commented 1 year ago

Miguel,

I found a bug in forest.py. It has to do with a recent update to sgt_constructor.py. Your sgt_constructor run should be fine. You will just need to run forest.py again after I can get the bug fixed. I apologize for the headache.

Best, Robert

miferg commented 1 year ago

No problem, it's good to know that the bug has been found. Looking forward to use the updated version of forest.py. Thanks, Miguel

robert-ervin-jones commented 1 year ago

The bug is now fixed. An update should be available from bioconda in the next few days.

Best, Robert