Open kroeve opened 6 months ago
Hi Evelin,
The key is here:
Cannot close file /home/kro037/captus_mmseqs_tmp/123592248136754191/all_seqs.fasta
My guess is that you either don't have enough space in your home directory or you don't have the right permissions to write files. You can always redirect the temporary folder for clustering using --cl_tmp_dir
to a location where you have enough space and permissions in your HPC.
I hope this helps...
Edgardo
Hi Edgardo,
Thank you so much, I actually ran out of space! I set a temporary work directory, and it worked now. I do currently struggle a lot with unintentionally filling my home directory... :)
Cheers, Evelin
Hello, I'm having a similar issue/output when running the -c flag at the step Selecting final cluster representatives:
Traceback (most recent call last): File "/Users/davidcr/miniconda3/envs/captus/bin/captus", line 10, in
sys.exit(main()) ^^^^^^ File "/Users/davidcr/miniconda3/envs/captus/lib/python3.12/site-packages/captus/captus_assembly.py", line 1424, in main CaptusAssembly() File "/Users/davidcr/miniconda3/envs/captus/lib/python3.12/site-packages/captus/captus_assembly.py", line 90, in init getattr(self, args.command)() File "/Users/davidcr/miniconda3/envs/captus/lib/python3.12/site-packages/captus/captus_assembly.py", line 1074, in extract extract(full_command, args) File "/Users/davidcr/miniconda3/envs/captus/lib/python3.12/site-packages/captus/extract.py", line 636, in extract captus_cluster_refs = cluster_and_select_refs(num_samples, cl_min_samples, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/davidcr/miniconda3/envs/captus/lib/python3.12/site-packages/captus/extract.py", line 2208, in cluster_and_select_refs with tqdm(total=len(clust2_clusters), ncols=tqdm_cols, unit="cluster") as pbar: ^^^^^^^^^^^^^^^^^^^^ TypeError: object of type 'NoneType' has no len()
Same problem occurs on all 3 of my workstations. I'm pretty sure there is no problem with permissions or storage.
I really appreciate your time for the developing of the software.
Hi @DavCP,
My initial guess is that no clusters are found, therefore Captus fails at processing the output from MMSeqs. To be sure I would need the MMSeqs log, could you upload me the log file(s) found inside the clustering folder located within your extraction folder?
Thanks!
Edgardo
Hi Edgardo,
When running
captus_assembly extract -a 02_assemblies -o 03_extractions -n target_file.fasta -p SeedPlantsPTD -m SeedPlantsMIT -c
on a hpc with Captus version: v1.0.1, the run terminates at step 1 of the clustering with following error message:The end of the log file looks like this:
I re-run it a few times, everytime the same error, in one run though the log file ended a few lines earlier (Initial clustering...). Any help appreciated! Thanks!
Cheers, Evelin