Comments (12)
Hi, thanks for the great help, it works.
from fastdtlmapper.
Thanks, I got another error when analyzing my own data.
FileNotFoundError: [Errno 2] No such file or directory: 'amox_fastdtlmapper/02_dtl_reconciliation/OG0000000/treerecs/OG0000000_multifurcate.ufboot_recs.nwk'
I also checked the treerecs_log.csv, it said "Error during gene <> species mapping, some gene leaves cannot be mapped:"
from fastdtlmapper.
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 02_dtl_reconciliation/OG0000000/
folder here to investigate the cause of the error?
from fastdtlmapper.
Hope to get your understanding that I canot update the file phylogenetic species tree and output 02_dtl_reconciliation/OG0000000/ folder to the Github for publication, because this is an unpublished work. Attached please see these two files. Thanks
Received email on 2022/09/04 11:53
Thank you for sending the data.
As I expected, the input file contained a special character symbol ($
), which may be the cause of the error.
Your species phylogenetic tree file contains $
characters, and these special characters are sometimes automatically converted to _
(underscore) by phylogenetic analysis tools (e.g. iqtree). This automatic conversion may prevent FastDTLmapper (treerecs) from mapping the species name to gene names, resulting in this error.
To resolve this error, please convert the in your input species phylogenetic tree beforehand. You may also need to remove the $
characters to _
characters'
(single quotation) from the species phylogenetic tree.
Also, convert the input Fasta or Genbank filename in the same way.
This should work without any problems. If you encounter any more problems, please let me know.
from fastdtlmapper.
To resolve this error, please convert the $ characters to _ characters in your input species phylogenetic tree beforehand.
Sorry, converting $
to _
was not allowed. Please remove the $
.
from fastdtlmapper.
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'
from fastdtlmapper.
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 02_dtl_reconciliation/OG0002313
?
If you send it to me, I will try to find out the cause.
from fastdtlmapper.
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.
from fastdtlmapper.
from fastdtlmapper.
Newly released v0.3.3 with bug fixes. Please try it to see if it works properly.
from fastdtlmapper.
Hi,
Newly released v0.3.3 was used but an now error was occured "FileNotFoundError: [Errno 2] No such file or directory: 'Amox_fastdtlmapper/02_dtl_reconciliation/OG0000000/treerecs/OG0000000_multifurcate.ufboot_recs.nwk'"
Attached please find the OG0000000 folder
Received email on 2022/09/06 13:58
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.
treerecs -s Amox_fastdtlmapper/00_user_data/tree/ultrametric_tree.nwk \
-g Amox_fastdtlmapper/02_dtl_reconciliation/OG0000000/treerecs/OG0000000_multifurcate.ufboot \
-o Amox_fastdtlmapper/02_dtl_reconciliation/OG0000000/treerecs \
--dupcost 2 --losscost 1 --output-without-description -f --quiet 2>&1
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 Amox_fastdtlmapper/00_user_data/tree/
folder where the species tree was output for further investigation?
from fastdtlmapper.
Please find the attached tree file.
Received email on 2022/09/06 19:34
Thank you for quick reply.
The error is probably due to the inclusion of '
(single quotation) in the species tree.
Remove '
(single quotation) from the species tree and try again, as in the following example.
((('species01', 'species02'), 'species03'), 'species04');
↓
(((species01, species02), species03), species04);
from fastdtlmapper.
Related Issues (20)
- Refactor: config.py is complex and has several responsibility
- Document: update pyproject.toml metadata
- Refactor: Strict type hints check
- Add test code
- Add PyPI automated deploy github actions
- Add automated pytest coverage github actions
- Add python formatter linter github actions
- Bug: Input filename cannot contain '.' (dot) character
- Add FastDTLmapper main integration test
- Add GOEA test code
- Use origin fasta annotation to unique serial id
- IQ-TREE parallel processing using Gnu Parallel cause an overload on CPU HOT 1
- AnGST cannot handle "|" character in fasta annotation
- Add publication-ready gain/loss map plot function
- Change gain/loss plot map style in leaf node (plot_gain_loss_map) HOT 1
- Add Brn/Dup/Trn plot in plot_gain_loss_map figure HOT 1
- ANgst Folder is not created HOT 1
- diamoand error HOT 4
- FileNotFoundError HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fastdtlmapper.