-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[e] resolve_polytomies crashed #54
Comments
Hi, thanks for reporting this and for using PhyloPhlAn. From the log you posted, it is clear that this is not the first time you run PhyloPhlAn on these inputs. So one thing I would check first is if the |
Hi Francesco,
In fact, this happened before I encountered the last error |
Ok, thanks, then something is not right with the MSA probably. Have you tried run the FastTree command in the error:
(I just removed the |
I ran as you suggested and here's the output: FastTree Version 2.1.10 Double precision (No SSE3), OpenMP (8 threads) |
Ok, can you check then that the MSA is a valid one? |
Hi Francesco, `PhyloPhlAn version 3.0.60 (27 November 2020) Command line: /home/mwa/miniconda3/bin/phylophlan -i /home/mwa/input_phylophlan -t a -d phylophlan -f supermatrix_aa.cfg --diversity medium --nproc 4 --min_num_entries 1 --verbose Automatically setting "input=input_phylophlan" and "input_folder=/home/mwa" but in the end there was an error like this [e] No alignments found to concatenate` Thank you very much for your answer |
Hi, how many inputs do you have in your input folders |
There is only one amino acid sequence file in faa format in the input folder |
Ok, so that's the problem. You can't build a phylogeny with only one single genome/proteome. |
This time I put three faa format amino acid sequence files in the input folder, but in the end an error occurred
After that I entered:
the output is:
I'd like to know at least how many input files are needed to meet the requirements. |
Hi, the minimum number of genomes to build a phylogeny is 4. There should be a check, but to control this, but I'll have a look why it not providing the proper error message. Thanks |
Dear phylophlan team,
I've installed PhyloPhlAn 3 from conda, and run the following command:
and the output is:
Command line: /home/mwa/miniconda3/envs/phylophlan/bin/phylophlan -i /home/mwa/input_phylophlan -t a -d phylophlan -f supermatrix_aa.cfg --diversity medium --nproc 4 --min_num_proteins 1 --min_len_protein 10 --min_num_entries 1 --verbose
Automatically setting "input=input_phylophlan" and "input_folder=/home/mwa"
"medium-accurate" preset
Setting "sort=True" because "database=phylophlan"
Setting "min_num_markers=100" since no value has been specified and the "database=phylophlan"
Arguments: {'input': 'input_phylophlan', 'clean': None, 'output': 'input_phylophlan_phylophlan', 'database': 'phylophlan', 'db_type': 'a', 'config_file': 'supermatrix_aa.cfg', 'diversity': 'medium', 'accurate': True, 'fast': False, 'clean_all': False, 'database_list': False, 'submat': 'pfasum60', 'submat_list': False, 'submod_list': False, 'nproc': 4, 'min_num_proteins': 1, 'min_len_protein': 10, 'min_num_markers': 100, 'trim': 'gap_trim', 'gap_perc_threshold': 0.67, 'not_variant_threshold': 0.99, 'subsample': <function onehundred at 0x7f03546ea820>, 'unknown_fraction': 0.3, 'scoring_function': <function trident at 0x7f03546eab80>, 'sort': True, 'remove_fragmentary_entries': False, 'fragmentary_threshold': 0.85, 'min_num_entries': 1, 'maas': None, 'remove_only_gaps_entries': False, 'mutation_rates': False, 'force_nucleotides': False, 'input_folder': '/home/mwa/input_phylophlan', 'data_folder': 'input_phylophlan_phylophlan/tmp', 'databases_folder': 'phylophlan_databases/', 'submat_folder': '/home/mwa/miniconda3/envs/phylophlan/lib/python3.9/site-packages/phylophlan/phylophlan_substitution_matrices/', 'submod_folder': '/home/mwa/miniconda3/envs/phylophlan/lib/python3.9/site-packages/phylophlan/phylophlan_substitution_models/', 'configs_folder': 'phylophlan_configs/', 'output_folder': '', 'genome_extension': '.fna', 'proteome_extension': '.faa', 'update': False, 'verbose': True}
Loading configuration file "supermatrix_aa.cfg"
Checking configuration file
Checking "/home/mwa/miniconda3/bin/diamond"
Checking "/home/mwa/miniconda3/bin/mafft"
Checking "/home/mwa/miniconda3/bin/trimal"
Checking "/home/mwa/miniconda3/bin/FastTreeMP"
Checking "/home/mwa/miniconda3/bin/raxmlHPC-PTHREADS-SSE3"
"db_aa" database "phylophlan_databases/phylophlan/phylophlan.dmnd" present
Loading files from "/home/mwa/input_phylophlan"
Loading files from "/home/mwa/input_phylophlan"
Inputs already checked
Loading checked inputs from "input_phylophlan_phylophlan/tmp/checked_inputs.pkl"
Inputs already cleaned
Loading files from "input_phylophlan_phylophlan/tmp/clean_aa"
"phylophlan" markers already mapped (key: "map_aa")
Markers already selected
Markers already extracted
Inputs already translated into markers
Markers already aligned (key: "msa")
Markers already trimmed (key: "trim")
Substitution matrix "/home/mwa/miniconda3/envs/phylophlan/lib/python3.9/site-packages/phylophlan/phylophlan_substitution_matrices/pfasum60.pkl" loaded
Markers already subsampled
Alignments already merged "input_phylophlan_phylophlan/input_phylophlan_concatenated.aln"
Phylogeny "/home/mwa/input_phylophlan_phylophlan/input_phylophlan.tre" (or "RAxML_*.input_phylophlan.tre") already built
Resolving 1 polytomies
Resolving polytomies for "input_phylophlan_phylophlan/input_phylophlan.tre"
[e] Error parsing data source 'input_phylophlan_phylophlan/input_phylophlan.tre' on line 1 at column 0: Unexpected end of stream
[e] error while resolving polytomies
input_phylophlan_phylophlan/input_phylophlan.tre
input_phylophlan_phylophlan/input_phylophlan_resolved.tre
[e] Error sending result: '<multiprocessing.pool.ExceptionWithTraceback object at 0x7f03546499d0>'. Reason: 'TypeError("cannot pickle '_io.TextIOWrapper' object")'
[e] resolve_polytomies crashed
What should I do next?
Thanks a lot for your help.
The text was updated successfully, but these errors were encountered: