You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
parent_args.append({'name' : '--add-unpaired-seqs-to-fake-paired-annotations', 'kwargs' : {'action' : 'store_true', 'help' : 'when making the fake h+l "paired" annotation (i.e. smashing h+l seqs together) for use in selection metrics and/or partition plotting, by default we ignore unpaired seqs. This option includes them, with Ns for the missing opposite-chain sequence.'}})
1678
1679
parent_args.append({'name' : '--keep-all-unpaired-seqs', 'kwargs' : {'action' : 'store_true', 'help' : 'By default when paired clustering, seqs with no pair info are kept only if they\'re in a (single-chain) family with at least one paired seq (i.e. families consisting entirely of unpaired seqs are discarded). If this is set, instead we keep all unpaired seqs.'}})
1679
1680
parent_args.append({'name' : '--ignore-sw-pair-info', 'kwargs' : {'action' : 'store_true', 'help' : 'If we already have paired clustering results and we\'re reading them for a subsequent step (for instance to get annotations) that is also reading sw cache info, we usually want to ignore the pair info in the sw cache file, since it is pre-cleaning/uncorrected. This argument instructs it to do that. Note that even if this argument isn\'t set, it should correctly figure out to overwrite the sw pair info with the correct pair info, but it\'s better/safer to also not read the sw pair info to begin with.'}})
1681
+
parent_args.append({'name' : '--crash-on-duplicate-uids', 'kwargs' : {'action' : 'store_true', 'help' : 'Crash if duplicate UIDs are found in input files (instead of renaming them with suffixes like -2, -3, etc). This is automatically set by the paired loci parent process when calling single-chain subprocesses, since renaming breaks pairing info. Not intended for direct use.'}})
1680
1682
1681
1683
parent_args.append({'name' : '--max-ccf-fail-frac', 'kwargs' : {'type' : float, 'default' : 0.05, 'help' : 'when calculating clustering performance metrics (correct cluster fractions, purity/completeness), crash if more than this fraction of sequences are missing from the inferred partition'}})
err_str='%sfound %d uid%s in multiple loci (which will cause hard to track crashes):\n'% (extra_str, len(cross_locus_dups), utils.plural(len(cross_locus_dups)))
ifall(lpfos['glfos'][l] isNoneforlintmploci): # if there was no info for *any* of the loci, set Nones one level up (it's just easier to have the Nones there)
# Crash on duplicates if requested (typically set by paired loci parent process for single-chain subprocesses)
278
+
ifargsisnotNoneandargs.crash_on_duplicate_uids:
279
+
raiseException('Found duplicate UID \'%s\' in %s. Cannot handle duplicate UIDs since pairing info references the original names. Please remove duplicates from input files.'% (uid, infname))
0 commit comments