dyxstat / HiCBin

HiCBin: binning metagenomic contigs and recovering metagenome-assembled genomes using Hi-C contact maps
GNU Affero General Public License v3.0
13 stars 4 forks source link

question about how to get the tax_file? #5

Closed JLUVicent closed 1 year ago

JLUVicent commented 2 years ago

Dear sir, I am using HiCBin to process my data, I want to use the TAXAassign to get the labels,but I get the following error after install the TAXAassign. image The follow is my software version:

python=2.7.18
blast=2.13.0
mysql=5.7.40
perl=5.26.1

Although at the beginning I ran the program and reported the following error due to perl version problem:

. Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at /home/jianchang/software/TAXAassign/scripts/blast_gen_assignments.pl line 108

But I have modified the blast_gen_assignments.pl file to fit this version Can you give me some advice? Thank you!

dyxstat commented 2 years ago

Sorry, Vicent. I am struggling to understand your errors since I never run into such trouble before. I am afraid that I cannot give you some good advice at the current stage. You can check whether your testBF.out file is empty. If not, most steps of TAXAassign could be executed normally other than the last step of running python script blast_concat_taxcon.py to aggregate the taxonomy assignment results.

Hope the above can help you to some extent. Yancey

JLUVicent commented 2 years ago

Thank you for your reply, my test_BF.out file is not empty, it is as follows. image the error is following: image The line that went wrong in the. / TAXAassign.sh file is line348, where it reads each line of test_BF.out as a file path, the following is the error line: image I've been confused for days. Can you give me some advice?

dyxstat commented 2 years ago

Hi Vicent,

Sorry for the late reply. I think this line is activated when you use parallel computing.

I am sorry I cannot provide you with useful advice to solve your problem. I can only tell you the transformation from '_BF.out' to '_BFT.out' is the last step, which should be accomplished by the script 'blast_concat_taxon.py'.

Best, Yancey