Closed Ural-Yunusbaev closed 3 years ago
Run:
newgenome draft_names_paths.txt cut_folder -f gathering
$ newgenome draft_names_paths.txt cut_folder -f gathering
Traceback (most recent call last):
File "/home/crciv/soft/gala/newgenome", line 28, in <module>
genomes(genomes=draft,gathering=gathering,gathering_name=name,outpath=output)
File "/home/crciv/soft/gala/src/new_genome.py", line 82, in genomes
b=new_genome(cut_file=gathering+gathering_name+'_'+a+'_cuts.txt',old_genome=aa,out_path=outpath,name='new_'+a)
File "/home/crciv/soft/gala/src/new_genome.py", line 11, in new_genome
a=list(open(cut_file))
IOError: [Errno 2] No such file or directory: 'cut_folder/gathering_draft_1_cuts.txt'
There is no cut_folder folder and no gathering_draft_1_cuts.txt file in it. Also, no gathering_draft_1_cuts.txt file in the gathering folder. I think something went wrong in the previous step.
$ ls -alh
total 32K
drwxrwxr-x 4 crciv crciv 267 May 20 11:37 .
drwxrwxr-x 33 crciv crciv 4.0K May 18 18:39 ..
drwxrwxr-x 2 crciv crciv 202 May 19 16:35 comparison
-rw-rw-r-- 1 crciv crciv 727 May 19 16:32 draft_comp.sh
-rw-rw-r-- 1 crciv crciv 345 May 18 19:16 draft_names_paths.txt
drwxrwxr-x 2 crciv crciv 223 May 19 16:38 gathering
-rw-r--r-- 1 crciv crciv 0 May 20 11:30 new_draft_names_paths.txt
$ ls -l comparison/
total 1824
-rw-rw-r-- 1 crciv crciv 216444 May 19 16:34 draft_1vsdraft_2.paf
-rw-rw-r-- 1 crciv crciv 532982 May 19 16:34 draft_1vsdraft_3.paf
-rw-rw-r-- 1 crciv crciv 113515 May 19 16:35 draft_2vsdraft_1.paf
-rw-rw-r-- 1 crciv crciv 526792 May 19 16:35 draft_2vsdraft_3.paf
-rw-rw-r-- 1 crciv crciv 166288 May 19 16:35 draft_3vsdraft_1.paf
-rw-rw-r-- 1 crciv crciv 301889 May 19 16:36 draft_3vsdraft_2.paf
$ ls -l gathering/
total 36
-rw-rw-r-- 1 crciv crciv 2426 May 19 16:38 gathering_draft_1.txt
-rw-rw-r-- 1 crciv crciv 755 May 19 16:38 gathering_draft_1_cuts.txt
-rw-rw-r-- 1 crciv crciv 2273 May 19 16:38 gathering_draft_2.txt
-rw-rw-r-- 1 crciv crciv 480 May 19 16:38 gathering_draft_2_cuts.txt
-rw-rw-r-- 1 crciv crciv 10161 May 19 16:38 gathering_draft_3.txt
-rw-rw-r-- 1 crciv crciv 4686 May 19 16:38 gathering_draft_3_cuts.txt
gathering_draft_1_cuts.txt
I saw it in gathering directory. So your cut_folder named gathering
You just need to re-run newgenome
command using gathering as a cut_folder
@Ural-Yunusbaev I didn't hear from you long time ago Is it run with you correctly or you still have problems?
I have failed several times and gave up. Did you update the script? And I would like to try your toy files. If you did, I would like to try it again.
Hi; You can try the new commit and this toy just add the gala path in run.sh and run it
tell me if you still have problems Best wishes Mohamed
Hi; Any updates