dereneaton / ipyrad

Interactive assembly and analysis of RAD-seq data sets
http://ipyrad.readthedocs.io
GNU General Public License v3.0
70 stars 39 forks source link

v0.9 - Step 6 "AssertionError: no consensus files found" #374

Closed isaacovercast closed 4 years ago

isaacovercast commented 4 years ago

I'm seeing this from 2 independent users @ruela_gitlab on gitter & jzajdel on #278.

Encountered an Error.
Message: AssertionError: no consensus files found

Parallel connection closed.
---------------------------------------------------------------------------AssertionError Traceback (most recent call last)<string> in <module>
~/.conda/envs/env-python37/lib/python3.7/site-packages/ipyrad/assemble/clustmap_across.py in build_concat_files(data, jobid, samples, randomseed)
862 sample.stats.reads_consens]
863 conshandles.sort()
--> 864 assert conshandles, "no consensus files found"
865
866 ## concatenate all of the gzipped consens files
AssertionError: no consensus files found

The consens files appear to exist in both cases so I'm thinking it's a file path issue?

Gator_consens$ ls -ltr 
-rw-r--r--. 1 jjz86252 slllab   32690 Nov 21 22:20 GTM174.consens.gz
-rw-r--r--. 1 jjz86252 slllab  148256 Nov 21 22:20 GTM174.catg
-rw-r--r--. 1 jjz86252 slllab   11220 Nov 21 22:20 GTM173.catg
-rw-r--r--. 1 jjz86252 slllab   43366 Nov 21 22:20 GTM170.consens.gz
-rw-r--r--. 1 jjz86252 slllab  199742 Nov 21 22:20 GTM170.catg
-rw-r--r--. 1 jjz86252 slllab   18556 Nov 21 22:20 AP9.consens.gz
isaacovercast commented 4 years ago

I commented the fix.

        for jobid, group in self.cgroups.items():
            # should we use sample objects or sample names in cgroups?
            # Well you gotta choose one! W/o pops file it uses sample objects
            # so I made it use sample objects if pop_assign_file is set iao
            samples = [i for i in self.samples if i in group]
            args = (self.data, jobid, samples, self.randomseed)
            rasyncs[jobid] = self.lbview.apply(build_concat_files, *args)
isaacovercast commented 4 years ago

:-)