Skip to content

Commit c3665bb

Browse files
committed
Allow specifying -i NONE to skip kallisto index creation
1 parent 9f5bbc5 commit c3665bb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

kb_python/ref.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ def ref(
627627

628628
if len(fasta_paths) > 1:
629629
raise RefError((
630-
'Option `--a` does not support multiple FASTA files as input'
630+
'Option `--aa` does not support multiple FASTA files as input'
631631
'while no GTF file(s) provided'
632632
))
633633
else:
@@ -668,6 +668,8 @@ def ref(
668668
if not glob.glob(f'{index_path}*') or overwrite:
669669
t2g_result = create_t2g_from_fasta(cdna_path, t2g_path, aa_flag=aa)
670670
results.update(t2g_result)
671+
if index_path.upper() == "NONE":
672+
return results
671673

672674
if k and k != 31:
673675
logger.warning(

0 commit comments

Comments
 (0)