Skip to content

Commit

Permalink
Allow specifying -i NONE to skip kallisto index creation
Browse files Browse the repository at this point in the history
  • Loading branch information
Yenaled committed Oct 21, 2024
1 parent 9f5bbc5 commit c3665bb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion kb_python/ref.py
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ def ref(

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

if k and k != 31:
logger.warning(
Expand Down

0 comments on commit c3665bb

Please sign in to comment.