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

No bootstrap values #102

Closed mjamy closed 11 months ago

mjamy commented 1 year ago

Hi PhyloFisher team,

I completed gene tree construction (sgt_constructor.py -i working_dataset_constructor_out_Sep.07.2023 -t 14 -o sgt_constructor_out_Sep.25.2023).

I then ran forest_local.py on my local machine (python forest_local.py -i sgt_constructor_out_Sep.25.2023-local.tar.gz).

However, when I started parsing the gene trees in ParaSorter, I noticed that none of the trees had any bootstrap values (or rather, all branches are labelled with 1).

The sgt_constructor_out_Sep.25.2023/raxml directory does contain all the expected output files (including {gene_name}.raxml.support). The sgt_constructor_out_Sep.25.2023/trees folder on the other hand contains the {gene_name}.raxml.bestTree files only.

I did try replacing the sgt_constructor_out_Sep.25.2023-local/trees/{gene_name}.raxml.bestTree files with {gene_name}.raxml.support files, compress to get sgt_constructor_out_Sep.25.2023-local.tar.gz, and then run forest_local.py on it. However, that resulted in an empty forest_out_Oct.06.2023 folder.

I'd appreciate any help with this!

Thanks, Mahwash

atice commented 1 year ago

Hi Mahwash,

Thanks for the email. I will not be able to look into this until Monday. Apologies for the delay.

In the meantime can you please send the output of sgt_constructor.py and forest.py to help Robert and I trouble shoot?

Alex

Get Outlook for iOShttps://aka.ms/o0ukef


From: Mahwash Jamy @.> Sent: Friday, October 6, 2023 8:53:33 AM To: TheBrownLab/PhyloFisher @.> Cc: Subscribed @.***> Subject: [TheBrownLab/PhyloFisher] No bootstrap values (Issue #102)

This email originated outside TTU. Please exercise cautionhttps://askit.ttu.edu/phishing!

Hi PhyloFisher team,

I completed gene tree construction (sgt_constructor.py -i working_dataset_constructor_out_Sep.07.2023 -t 14 -o sgt_constructor_out_Sep.25.2023).

I then ran forest_local.py on my local machine (python forest_local.py -i sgt_constructor_out_Sep.25.2023-local.tar.gz).

However, when I started parsing the gene trees in ParaSorter, I noticed that none of the trees had any bootstrap values (or rather, all branches are labelled with 1).

The sgt_constructor_out_Sep.25.2023/raxml directory does contain all the expected output files (including {gene_name}.raxml.support). The sgt_constructor_out_Sep.25.2023/trees folder on the other hand contains the {gene_name}.raxml.bestTree files only.

I did try replacing the sgt_constructor_out_Sep.25.2023-local/trees/{gene_name}.raxml.bestTree files with {gene_name}.raxml.support files, compress to get sgt_constructor_out_Sep.25.2023-local.tar.gz, and then run forest_local.py on it. However, that resulted in an empty forest_out_Oct.06.2023 folder.

I'd appreciate any help with this!

Thanks, Mahwash

— Reply to this email directly, view it on GitHubhttps://github.com/TheBrownLab/PhyloFisher/issues/102, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADA4OK6X44CRDYHBGBJ4T6DX6AEN3AVCNFSM6AAAAAA5V3TBTWVHI2DSMVQWIX3LMV43ASLTON2WKOZRHEZTAMRTGA3TGMI. You are receiving this because you are subscribed to this thread.Message ID: @.***>

mjamy commented 1 year ago

Hi Alex,

Sorry for the delayed response!

The output files were rather large, so I sent them to you via email. I hope that is okay!

Thank you for looking into this.

Mahwash

atice commented 1 year ago

Hi Mahwash,

Again, thanks for the email. Robert and I solved the issue, and Robert edited the code to fix the bug. As soon as the new version of PhyloFisher becomes available on Bioconda we will email you with how to proceed. It should be really quick, as you won't have to do a full rerun sgt_constructor.py.

Alex

Alexander K. Tice, Ph.D. Assistant Professor Department of Biological Sciences Texas Tech University Office: 313 Lab: 308 Phone: (806) 834-6444


From: Mahwash Jamy @.> Sent: Monday, October 9, 2023 9:30 AM To: TheBrownLab/PhyloFisher @.> Cc: Tice, Alex @.>; Comment @.> Subject: Re: [TheBrownLab/PhyloFisher] No bootstrap values (Issue #102)

This email originated outside TTU. Please exercise cautionhttps://askit.ttu.edu/phishing!

Hi Alex,

Sorry for the delayed response!

The output files were rather large, so I sent them to you via email. I hope that is okay!

Thank you for looking into this.

Mahwash

— Reply to this email directly, view it on GitHubhttps://github.com/TheBrownLab/PhyloFisher/issues/102#issuecomment-1753123832, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADA4OK4DU5EFKIYJ4I53WCDX6QC7HAVCNFSM6AAAAAA5V3TBTWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJTGEZDGOBTGI. You are receiving this because you commented.Message ID: @.***>

mjamy commented 1 year ago

Great! Thanks Alex and Robert!

atice commented 1 year ago

Hi Mahwash,

The PhyloFisher v.1.2.13 is now available from bioconda. After you update, you can proceed either of two ways. You should be able to run forest_local.py on the tar.gz you created after replacing the sgt_constructor_out_Sep.25.2023-local/trees/{gene_name}.raxml.bestTree files with {gene_name}.raxml.support files and get the correct output.

Another way to go about getting the output you need is to delete sgt_constructor_out_Sep.25.2023-local.tar.gz and sgt_constructor_out_Sep.25.2023/trees/. Then rerun sgt_constructor.py with sgt_constructor_out_Sep.25.2023 provided to the -o flag. This should finish near instantly. Then you will have the correct .tar.gz to provide to forest_local.py.

Let us know if this solves your issue. Thanks for choosing PhyloFisher for your work.

Alex and Robert

mjamy commented 1 year ago

Thank you so much! Unfortunately I wont be able to check this until next week, but will let you know if I have any issues.

Thanks again! Mahwash

mjamy commented 12 months ago

Hi again Alex and Robert,

I tried following Alex's advice:

The PhyloFisher v.1.2.13 is now available from bioconda. After you update, you can proceed either of two ways. You should be able to run forest_local.py on the tar.gz you created after replacing the sgt_constructor_out_Sep.25.2023-local/trees/{gene_name}.raxml.bestTree files with {gene_name}.raxml.support files and get the correct output.

But after running forest_local.py I get an empty forest_out folder.

Will appreciate any help on how to move forward.

Thank you! Mahwash

atice commented 12 months ago

Hi Mahwash,

Can you try the second suggestion I made real quick and let us know if that works for you?

Alex

Alexander K. Tice, Ph.D. Assistant Professor Department of Biological Sciences Texas Tech University Office: 313 Lab: 308 Phone: (806) 834-6444


From: Mahwash Jamy @.> Sent: Wednesday, October 25, 2023 1:02 PM To: TheBrownLab/PhyloFisher @.> Cc: Tice, Alex @.>; Comment @.> Subject: Re: [TheBrownLab/PhyloFisher] No bootstrap values (Issue #102)

This email originated outside TTU. Please exercise cautionhttps://askit.ttu.edu/phishing!

Hi again Alex and Robert,

I tried following Alex's advice:

The PhyloFisher v.1.2.13 is now available from bioconda. After you update, you can proceed either of two ways. You should be able to run forest_local.py on the tar.gz you created after replacing the sgt_constructor_out_Sep.25.2023-local/trees/{gene_name}.raxml.bestTree files with {gene_name}.raxml.support files and get the correct output.

But after running forest_local.py I get an empty forest_out folder.

Will appreciate any help on how to move forward.

Thank you! Mahwash

— Reply to this email directly, view it on GitHubhttps://github.com/TheBrownLab/PhyloFisher/issues/102#issuecomment-1779788861, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADA4OK4V3BVYPUL5TBGOH23YBFH5DAVCNFSM6AAAAAA5V3TBTWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZZG44DQOBWGE. You are receiving this because you commented.Message ID: @.***>

mjamy commented 12 months ago

Of course! I did just try it, and I still get an empty forest_out folder.

This is the command I ran on my local machine (M1 Mac):

python forest_local.py -i sgt_constructor_out_Sep.25.2023-local.tar.gz

Best, Mahwash

atice commented 12 months ago

Thank you for running it. I am bogged down by meetings for the rest of the day. Robert and I will revisit problem tomorrow. Sorry for the inconvenience it has caused.

Alex

Alexander K. Tice, Ph.D. Assistant Professor Department of Biological Sciences Texas Tech University Office: 313 Lab: 308 Phone: (806) 834-6444


From: Mahwash Jamy @.> Sent: Wednesday, October 25, 2023 3:41 PM To: TheBrownLab/PhyloFisher @.> Cc: Tice, Alex @.>; Comment @.> Subject: Re: [TheBrownLab/PhyloFisher] No bootstrap values (Issue #102)

This email originated outside TTU. Please exercise cautionhttps://askit.ttu.edu/phishing!

Of course! I did just try it, and I still get an empty forest_out folder.

This is the command I ran on my local machine (M1 Mac):

python forest_local.py -i sgt_constructor_out_Sep.25.2023-local.tar.gz

Best, Mahwash

— Reply to this email directly, view it on GitHubhttps://github.com/TheBrownLab/PhyloFisher/issues/102#issuecomment-1780021693, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADA4OK3BFTXZ4VGMEHQIDKTYBF2PJAVCNFSM6AAAAAA5V3TBTWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBQGAZDCNRZGM. You are receiving this because you commented.Message ID: @.***>

mjamy commented 12 months ago

Okay thanks! Just to add more info in case it helps troubleshooting, I struggled to install PhyloFisher on the M1 Mac, so to run forest_local.py, I've been using the conda environment forest_local as described in #15.

Mahwash

atice commented 12 months ago

Hi Mahwash,

forest.py got edited to fix your problem last time but we forgot to make the same changes to forest_local.py. You should now be able to download the corrected version forest_local.py from the GitHub and run it on your sgt_constructor output .tar.gz file. Confirm with us if this fixed your issue or not when you have the chance.

Alex and Robert

mjamy commented 11 months ago

Hi Alex and Robert,

Now getting this error when I run forest_local.py: NameError: name 'false' is not defined.

Complete error log is attached.

Thanks, Mahwash error.log

atice commented 11 months ago

Hi Mahwash,

We cannot recreate your error. Just to make sure you are using the correct version of forest_local.py will you run the attached and let us know if it works. Thanks for your patience.

Alex and Robert

Alexander K. Tice, Ph.D. Assistant Professor Department of Biological Sciences Texas Tech University Office: 313 Lab: 308 Phone: (806) 834-6444


From: Mahwash Jamy @.> Sent: Friday, October 27, 2023 4:13 AM To: TheBrownLab/PhyloFisher @.> Cc: Tice, Alex @.>; Comment @.> Subject: Re: [TheBrownLab/PhyloFisher] No bootstrap values (Issue #102)

This email originated outside TTU. Please exercise cautionhttps://askit.ttu.edu/phishing!

Hi Alex and Robert,

Now getting this error when I run forest_local.py: NameError: name 'false' is not defined.

Complete error log is attached.

Thanks, Mahwash error.loghttps://github.com/TheBrownLab/PhyloFisher/files/13187182/error.log

— Reply to this email directly, view it on GitHubhttps://github.com/TheBrownLab/PhyloFisher/issues/102#issuecomment-1782574418, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADA4OKZOO4DCQIIVPRWIBALYBN3LDAVCNFSM6AAAAAA5V3TBTWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBSGU3TINBRHA. You are receiving this because you commented.Message ID: @.***>

mjamy commented 11 months ago

Hi Alex and Robert,

Turns out it was a mistake on my end.

Happy to report that the problem is fixed, and I am now able to view the trees along with the bootstrap values!!

Thank you for your patience and support.

Best, Mahwash

atice commented 11 months ago

Great news! Thank you for all your help and patience! Glad you can move forward with your study!

Alex and Robert

Alexander K. Tice, Ph.D. Assistant Professor Department of Biological Sciences Texas Tech University Office: 313 Lab: 308 Phone: (806) 834-6444


From: Mahwash Jamy @.> Sent: Monday, October 30, 2023 1:30 PM To: TheBrownLab/PhyloFisher @.> Cc: Tice, Alex @.>; Comment @.> Subject: Re: [TheBrownLab/PhyloFisher] No bootstrap values (Issue #102)

This email originated outside TTU. Please exercise cautionhttps://askit.ttu.edu/phishing!

Hi Alex and Robert,

Turns out it was a mistake on my end.

Happy to report that the problem is fixed, and I am now able to view the trees along with the bootstrap values!!

Thank you for your patience and support.

Best, Mahwash

— Reply to this email directly, view it on GitHubhttps://github.com/TheBrownLab/PhyloFisher/issues/102#issuecomment-1785815439, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADA4OK7Y6MV6PSCHVBFKW7TYB7W5JAVCNFSM6AAAAAA5V3TBTWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBVHAYTKNBTHE. You are receiving this because you commented.Message ID: @.***>