Skip to content

Commit c5a4752

Browse files
committed
manually add
1 parent d6f0830 commit c5a4752

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

arrow/commands/annotations/load_gff3.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@
3333
help="Disable CDS recalculation and instead use the one provided",
3434
is_flag=True
3535
)
36+
@click.option(
37+
"--cds_cleaning",
38+
help="This changes the behaviour of creating GFF3 features in apollo to match more closely to what it expects. Generally you'll probably want this on if you have transcripts with multiple exons and CDSs, but we don't want to change existing scripts so we are not defaulting this on."
39+
is_flag=True
40+
)
3641
@click.option(
3742
"--timing",
3843
help="Output loading performance metrics",
@@ -41,11 +46,11 @@
4146
@pass_context
4247
@custom_exception
4348
@str_output
44-
def cli(ctx, organism, gff3, source="", batch_size=1, test=False, use_name=False, disable_cds_recalculation=False, timing=False):
49+
def cli(ctx, organism, gff3, source="", batch_size=1, test=False, use_name=False, disable_cds_recalculation=False, cds_cleaning=False, timing=False):
4550
"""Load a full GFF3 into annotation track
4651
4752
Output:
4853
4954
Loading report
5055
"""
51-
return ctx.gi.annotations.load_gff3(organism, gff3, source=source, batch_size=batch_size, test=test, use_name=use_name, disable_cds_recalculation=disable_cds_recalculation, timing=timing)
56+
return ctx.gi.annotations.load_gff3(organism, gff3, source=source, batch_size=batch_size, test=test, use_name=use_name, disable_cds_recalculation=disable_cds_recalculation, cds_cleaning=cds_cleaning, timing=timing)

0 commit comments

Comments
 (0)