-
Notifications
You must be signed in to change notification settings - Fork 4
FastDTLmapper error caused by python2.7 dependency #66
Comments
Thanks, I got another error when analyzing my own data. |
Does the example data provided by the repository work correctly in your environment? If the error occurs only with your data, it may be due to some unexpected special characters (symbols) in your input phylogenetic species tree OTU name or CDS fasta file. Can you upload your input phylogenetic species tree and output |
Thank you for sending the data. As I expected, the input file contained a special character symbol ( Your species phylogenetic tree file contains To resolve this error, please This should work without any problems. If you encounter any more problems, please let me know. |
Sorry, converting |
Hi, after I removed all the $ from the phylogenetic tree file and fasta file names, the process was stopped at Reconstruct each OG gene tree using IQ-TREE. It seems that iqtree could not work anymore, no other error was reported except FileNotFoundError: [Errno 2] No such file or directory: 'amox_fastdtlmapper/02_dtl_reconciliation/OG0002313/iqtree/OG0002313.treefile' |
It may be that the input sequences contain data that are inconvenient for iqtree to generate a gene tree (e.g. too short CDS sequences, strange alignment results). Sorry for the repeated errors, but could you please email me the contents of the folder |
I found the cause of the error. The
Since there is excessive trimming in this example, it seems more correct to use the pre-trimmed alignment. I will try to release a FastDTLmapper with this bug fixed as soon as possible. I will let you know in this issue when it is released. |
Hi moshi4,
Thanks for your help and I look forward to the new FastDTLmapper.
At 2022-09-04 19:23:31, "moshi" ***@***.***> wrote:
Hi moshi4,
Thanks for the quick response, attached please find the folder.
Cheers,
Yuchun
Received email on 2022/09/04 19:54
I found the cause of the error.
As a conclusion, this error was caused by trimming the alignment length from 66 to 1 by trimal.
The OG0002313_aln_trim.fa you provided has the following result, and it seems that the error occurred in iqtree with this improper alignment result as input.
gene01
F
gene02
F
..
.
..
geneXX
F
Since there is excessive trimming in this example, it seems more correct to use the pre-trimmed alignment.
I will try to release a FastDTLmapper with this bug fixed as soon as possible. I will let you know in this issue when it is released.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Newly released v0.3.3 with bug fixes. Please try it to see if it works properly. |
The error seems to occur because the treerecs used to resolve multifurcation of the gene tree is not outputting the results correctly by the following command.
The cause of this error is that the name matching between the species tree and the gene tree is failing. However, I do not understand from the data you provided why this error is occurring. At least the gene tree appears to be outputting as expected. Could you please provide the |
Thank you for quick reply. The error is probably due to the inclusion of
|
Hi, thanks for the great help, it works. |
Hi, Yuchun (@Yuchunyang2022)
Thank you for your interest in FastDTLmapper.
The reason for the error is that you do not have python2.7 installed and AnGST, the tool to run DTL reconciliation, requires python2.7.
To run FastDTLmapper successfully, you will need to build an environment where python 2.X and python 3.X coexist, such as Ubuntu 20.04, although it will take a lot of work.
To save users the trouble of building an environment, I created a Docker image for running FastDTLmapper (See here).
Although knowledge of Docker is required, it is recommended to run FastDTLmapper on this Docker image environment.
The text was updated successfully, but these errors were encountered: