taxid and refids show up in wrong combinations. The culprit is the following code snippet:
for tid in taxid:
wc = Wildcards(fromdict={"sample": wildcards.sample, "taxid": tid})
_refid = get_ref_id(wc)
if _refid is not None:
refid.append(_refid)
if len(refid) > 0:
res = expand(fmt, zip, sample=sample, taxid=taxid, refid=refid)
return res
In case _refid is None, the taxid and refid lists will be of unequal length, causing erroneous combinations.
taxid and refids show up in wrong combinations. The culprit is the following code snippet:
In case _refid is None, the taxid and refid lists will be of unequal length, causing erroneous combinations.