_aie() {
    local i cur prev opts cmd
    COMPREPLY=()
    if [[ "${BASH_VERSINFO[0]}" -ge 4 ]]; then
        cur="$2"
    else
        cur="${COMP_WORDS[COMP_CWORD]}"
    fi
    prev="$3"
    cmd=""
    opts=""

    for i in "${COMP_WORDS[@]:0:COMP_CWORD}"
    do
        case "${cmd},${i}" in
            ",$1")
                cmd="aie"
                ;;
            aie,assign-diff)
                cmd="aie__subcmd__assign__subcmd__diff"
                ;;
            aie,build)
                cmd="aie__subcmd__build"
                ;;
            aie,cohort)
                cmd="aie__subcmd__cohort"
                ;;
            aie,collection)
                cmd="aie__subcmd__collection"
                ;;
            aie,compare-annotations)
                cmd="aie__subcmd__compare__subcmd__annotations"
                ;;
            aie,compile-annotation)
                cmd="aie__subcmd__compile__subcmd__annotation"
                ;;
            aie,completions)
                cmd="aie__subcmd__completions"
                ;;
            aie,debug)
                cmd="aie__subcmd__debug"
                ;;
            aie,dev)
                cmd="aie__subcmd__dev"
                ;;
            aie,doctor)
                cmd="aie__subcmd__doctor"
                ;;
            aie,em)
                cmd="aie__subcmd__em"
                ;;
            aie,explore)
                cmd="aie__subcmd__explore"
                ;;
            aie,export-molecule-bam)
                cmd="aie__subcmd__export__subcmd__molecule__subcmd__bam"
                ;;
            aie,extend)
                cmd="aie__subcmd__extend"
                ;;
            aie,federate)
                cmd="aie__subcmd__federate"
                ;;
            aie,gate-c)
                cmd="aie__subcmd__gate__subcmd__c"
                ;;
            aie,gate-d)
                cmd="aie__subcmd__gate__subcmd__d"
                ;;
            aie,help)
                cmd="aie__subcmd__help"
                ;;
            aie,ingest)
                cmd="aie__subcmd__ingest"
                ;;
            aie,ingest-archive)
                cmd="aie__subcmd__ingest__subcmd__archive"
                ;;
            aie,inspect-archive)
                cmd="aie__subcmd__inspect__subcmd__archive"
                ;;
            aie,plan)
                cmd="aie__subcmd__plan"
                ;;
            aie,project)
                cmd="aie__subcmd__project"
                ;;
            aie,query)
                cmd="aie__subcmd__query"
                ;;
            aie,replay)
                cmd="aie__subcmd__replay"
                ;;
            aie,replay-rows)
                cmd="aie__subcmd__replay__subcmd__rows"
                ;;
            aie,resolve)
                cmd="aie__subcmd__resolve"
                ;;
            aie,seal-archive)
                cmd="aie__subcmd__seal__subcmd__archive"
                ;;
            aie,sig-stats)
                cmd="aie__subcmd__sig__subcmd__stats"
                ;;
            aie,stamp-genome)
                cmd="aie__subcmd__stamp__subcmd__genome"
                ;;
            aie,umi-graph)
                cmd="aie__subcmd__umi__subcmd__graph"
                ;;
            aie__subcmd__cohort,events)
                cmd="aie__subcmd__cohort__subcmd__events"
                ;;
            aie__subcmd__cohort,help)
                cmd="aie__subcmd__cohort__subcmd__help"
                ;;
            aie__subcmd__cohort,polyasite-mixture)
                cmd="aie__subcmd__cohort__subcmd__polyasite__subcmd__mixture"
                ;;
            aie__subcmd__cohort,splice-graph)
                cmd="aie__subcmd__cohort__subcmd__splice__subcmd__graph"
                ;;
            aie__subcmd__cohort,transcript-ends)
                cmd="aie__subcmd__cohort__subcmd__transcript__subcmd__ends"
                ;;
            aie__subcmd__cohort__subcmd__help,events)
                cmd="aie__subcmd__cohort__subcmd__help__subcmd__events"
                ;;
            aie__subcmd__cohort__subcmd__help,help)
                cmd="aie__subcmd__cohort__subcmd__help__subcmd__help"
                ;;
            aie__subcmd__cohort__subcmd__help,polyasite-mixture)
                cmd="aie__subcmd__cohort__subcmd__help__subcmd__polyasite__subcmd__mixture"
                ;;
            aie__subcmd__cohort__subcmd__help,splice-graph)
                cmd="aie__subcmd__cohort__subcmd__help__subcmd__splice__subcmd__graph"
                ;;
            aie__subcmd__cohort__subcmd__help,transcript-ends)
                cmd="aie__subcmd__cohort__subcmd__help__subcmd__transcript__subcmd__ends"
                ;;
            aie__subcmd__collection,build)
                cmd="aie__subcmd__collection__subcmd__build"
                ;;
            aie__subcmd__collection,find-events)
                cmd="aie__subcmd__collection__subcmd__find__subcmd__events"
                ;;
            aie__subcmd__collection,help)
                cmd="aie__subcmd__collection__subcmd__help"
                ;;
            aie__subcmd__collection,inspect)
                cmd="aie__subcmd__collection__subcmd__inspect"
                ;;
            aie__subcmd__collection,jset)
                cmd="aie__subcmd__collection__subcmd__jset"
                ;;
            aie__subcmd__collection,junction)
                cmd="aie__subcmd__collection__subcmd__junction"
                ;;
            aie__subcmd__collection,region)
                cmd="aie__subcmd__collection__subcmd__region"
                ;;
            aie__subcmd__collection__subcmd__help,build)
                cmd="aie__subcmd__collection__subcmd__help__subcmd__build"
                ;;
            aie__subcmd__collection__subcmd__help,find-events)
                cmd="aie__subcmd__collection__subcmd__help__subcmd__find__subcmd__events"
                ;;
            aie__subcmd__collection__subcmd__help,help)
                cmd="aie__subcmd__collection__subcmd__help__subcmd__help"
                ;;
            aie__subcmd__collection__subcmd__help,inspect)
                cmd="aie__subcmd__collection__subcmd__help__subcmd__inspect"
                ;;
            aie__subcmd__collection__subcmd__help,jset)
                cmd="aie__subcmd__collection__subcmd__help__subcmd__jset"
                ;;
            aie__subcmd__collection__subcmd__help,junction)
                cmd="aie__subcmd__collection__subcmd__help__subcmd__junction"
                ;;
            aie__subcmd__collection__subcmd__help,region)
                cmd="aie__subcmd__collection__subcmd__help__subcmd__region"
                ;;
            aie__subcmd__dev,assign-diff)
                cmd="aie__subcmd__dev__subcmd__assign__subcmd__diff"
                ;;
            aie__subcmd__dev,build)
                cmd="aie__subcmd__dev__subcmd__build"
                ;;
            aie__subcmd__dev,debug)
                cmd="aie__subcmd__dev__subcmd__debug"
                ;;
            aie__subcmd__dev,em)
                cmd="aie__subcmd__dev__subcmd__em"
                ;;
            aie__subcmd__dev,gate-c)
                cmd="aie__subcmd__dev__subcmd__gate__subcmd__c"
                ;;
            aie__subcmd__dev,gate-d)
                cmd="aie__subcmd__dev__subcmd__gate__subcmd__d"
                ;;
            aie__subcmd__dev,help)
                cmd="aie__subcmd__dev__subcmd__help"
                ;;
            aie__subcmd__dev,replay)
                cmd="aie__subcmd__dev__subcmd__replay"
                ;;
            aie__subcmd__dev,sig-stats)
                cmd="aie__subcmd__dev__subcmd__sig__subcmd__stats"
                ;;
            aie__subcmd__dev,umi-graph)
                cmd="aie__subcmd__dev__subcmd__umi__subcmd__graph"
                ;;
            aie__subcmd__dev__subcmd__help,assign-diff)
                cmd="aie__subcmd__dev__subcmd__help__subcmd__assign__subcmd__diff"
                ;;
            aie__subcmd__dev__subcmd__help,build)
                cmd="aie__subcmd__dev__subcmd__help__subcmd__build"
                ;;
            aie__subcmd__dev__subcmd__help,debug)
                cmd="aie__subcmd__dev__subcmd__help__subcmd__debug"
                ;;
            aie__subcmd__dev__subcmd__help,em)
                cmd="aie__subcmd__dev__subcmd__help__subcmd__em"
                ;;
            aie__subcmd__dev__subcmd__help,gate-c)
                cmd="aie__subcmd__dev__subcmd__help__subcmd__gate__subcmd__c"
                ;;
            aie__subcmd__dev__subcmd__help,gate-d)
                cmd="aie__subcmd__dev__subcmd__help__subcmd__gate__subcmd__d"
                ;;
            aie__subcmd__dev__subcmd__help,help)
                cmd="aie__subcmd__dev__subcmd__help__subcmd__help"
                ;;
            aie__subcmd__dev__subcmd__help,replay)
                cmd="aie__subcmd__dev__subcmd__help__subcmd__replay"
                ;;
            aie__subcmd__dev__subcmd__help,sig-stats)
                cmd="aie__subcmd__dev__subcmd__help__subcmd__sig__subcmd__stats"
                ;;
            aie__subcmd__dev__subcmd__help,umi-graph)
                cmd="aie__subcmd__dev__subcmd__help__subcmd__umi__subcmd__graph"
                ;;
            aie__subcmd__help,assign-diff)
                cmd="aie__subcmd__help__subcmd__assign__subcmd__diff"
                ;;
            aie__subcmd__help,build)
                cmd="aie__subcmd__help__subcmd__build"
                ;;
            aie__subcmd__help,cohort)
                cmd="aie__subcmd__help__subcmd__cohort"
                ;;
            aie__subcmd__help,collection)
                cmd="aie__subcmd__help__subcmd__collection"
                ;;
            aie__subcmd__help,compare-annotations)
                cmd="aie__subcmd__help__subcmd__compare__subcmd__annotations"
                ;;
            aie__subcmd__help,compile-annotation)
                cmd="aie__subcmd__help__subcmd__compile__subcmd__annotation"
                ;;
            aie__subcmd__help,completions)
                cmd="aie__subcmd__help__subcmd__completions"
                ;;
            aie__subcmd__help,debug)
                cmd="aie__subcmd__help__subcmd__debug"
                ;;
            aie__subcmd__help,dev)
                cmd="aie__subcmd__help__subcmd__dev"
                ;;
            aie__subcmd__help,doctor)
                cmd="aie__subcmd__help__subcmd__doctor"
                ;;
            aie__subcmd__help,em)
                cmd="aie__subcmd__help__subcmd__em"
                ;;
            aie__subcmd__help,explore)
                cmd="aie__subcmd__help__subcmd__explore"
                ;;
            aie__subcmd__help,export-molecule-bam)
                cmd="aie__subcmd__help__subcmd__export__subcmd__molecule__subcmd__bam"
                ;;
            aie__subcmd__help,extend)
                cmd="aie__subcmd__help__subcmd__extend"
                ;;
            aie__subcmd__help,federate)
                cmd="aie__subcmd__help__subcmd__federate"
                ;;
            aie__subcmd__help,gate-c)
                cmd="aie__subcmd__help__subcmd__gate__subcmd__c"
                ;;
            aie__subcmd__help,gate-d)
                cmd="aie__subcmd__help__subcmd__gate__subcmd__d"
                ;;
            aie__subcmd__help,help)
                cmd="aie__subcmd__help__subcmd__help"
                ;;
            aie__subcmd__help,ingest)
                cmd="aie__subcmd__help__subcmd__ingest"
                ;;
            aie__subcmd__help,ingest-archive)
                cmd="aie__subcmd__help__subcmd__ingest__subcmd__archive"
                ;;
            aie__subcmd__help,inspect-archive)
                cmd="aie__subcmd__help__subcmd__inspect__subcmd__archive"
                ;;
            aie__subcmd__help,plan)
                cmd="aie__subcmd__help__subcmd__plan"
                ;;
            aie__subcmd__help,project)
                cmd="aie__subcmd__help__subcmd__project"
                ;;
            aie__subcmd__help,query)
                cmd="aie__subcmd__help__subcmd__query"
                ;;
            aie__subcmd__help,replay)
                cmd="aie__subcmd__help__subcmd__replay"
                ;;
            aie__subcmd__help,replay-rows)
                cmd="aie__subcmd__help__subcmd__replay__subcmd__rows"
                ;;
            aie__subcmd__help,resolve)
                cmd="aie__subcmd__help__subcmd__resolve"
                ;;
            aie__subcmd__help,seal-archive)
                cmd="aie__subcmd__help__subcmd__seal__subcmd__archive"
                ;;
            aie__subcmd__help,sig-stats)
                cmd="aie__subcmd__help__subcmd__sig__subcmd__stats"
                ;;
            aie__subcmd__help,stamp-genome)
                cmd="aie__subcmd__help__subcmd__stamp__subcmd__genome"
                ;;
            aie__subcmd__help,umi-graph)
                cmd="aie__subcmd__help__subcmd__umi__subcmd__graph"
                ;;
            aie__subcmd__help__subcmd__cohort,events)
                cmd="aie__subcmd__help__subcmd__cohort__subcmd__events"
                ;;
            aie__subcmd__help__subcmd__cohort,polyasite-mixture)
                cmd="aie__subcmd__help__subcmd__cohort__subcmd__polyasite__subcmd__mixture"
                ;;
            aie__subcmd__help__subcmd__cohort,splice-graph)
                cmd="aie__subcmd__help__subcmd__cohort__subcmd__splice__subcmd__graph"
                ;;
            aie__subcmd__help__subcmd__cohort,transcript-ends)
                cmd="aie__subcmd__help__subcmd__cohort__subcmd__transcript__subcmd__ends"
                ;;
            aie__subcmd__help__subcmd__collection,build)
                cmd="aie__subcmd__help__subcmd__collection__subcmd__build"
                ;;
            aie__subcmd__help__subcmd__collection,find-events)
                cmd="aie__subcmd__help__subcmd__collection__subcmd__find__subcmd__events"
                ;;
            aie__subcmd__help__subcmd__collection,inspect)
                cmd="aie__subcmd__help__subcmd__collection__subcmd__inspect"
                ;;
            aie__subcmd__help__subcmd__collection,jset)
                cmd="aie__subcmd__help__subcmd__collection__subcmd__jset"
                ;;
            aie__subcmd__help__subcmd__collection,junction)
                cmd="aie__subcmd__help__subcmd__collection__subcmd__junction"
                ;;
            aie__subcmd__help__subcmd__collection,region)
                cmd="aie__subcmd__help__subcmd__collection__subcmd__region"
                ;;
            aie__subcmd__help__subcmd__dev,assign-diff)
                cmd="aie__subcmd__help__subcmd__dev__subcmd__assign__subcmd__diff"
                ;;
            aie__subcmd__help__subcmd__dev,build)
                cmd="aie__subcmd__help__subcmd__dev__subcmd__build"
                ;;
            aie__subcmd__help__subcmd__dev,debug)
                cmd="aie__subcmd__help__subcmd__dev__subcmd__debug"
                ;;
            aie__subcmd__help__subcmd__dev,em)
                cmd="aie__subcmd__help__subcmd__dev__subcmd__em"
                ;;
            aie__subcmd__help__subcmd__dev,gate-c)
                cmd="aie__subcmd__help__subcmd__dev__subcmd__gate__subcmd__c"
                ;;
            aie__subcmd__help__subcmd__dev,gate-d)
                cmd="aie__subcmd__help__subcmd__dev__subcmd__gate__subcmd__d"
                ;;
            aie__subcmd__help__subcmd__dev,replay)
                cmd="aie__subcmd__help__subcmd__dev__subcmd__replay"
                ;;
            aie__subcmd__help__subcmd__dev,sig-stats)
                cmd="aie__subcmd__help__subcmd__dev__subcmd__sig__subcmd__stats"
                ;;
            aie__subcmd__help__subcmd__dev,umi-graph)
                cmd="aie__subcmd__help__subcmd__dev__subcmd__umi__subcmd__graph"
                ;;
            aie__subcmd__help__subcmd__ingest,check)
                cmd="aie__subcmd__help__subcmd__ingest__subcmd__check"
                ;;
            aie__subcmd__help__subcmd__ingest,recipe)
                cmd="aie__subcmd__help__subcmd__ingest__subcmd__recipe"
                ;;
            aie__subcmd__help__subcmd__plan,check)
                cmd="aie__subcmd__help__subcmd__plan__subcmd__check"
                ;;
            aie__subcmd__help__subcmd__plan,run)
                cmd="aie__subcmd__help__subcmd__plan__subcmd__run"
                ;;
            aie__subcmd__help__subcmd__project,add)
                cmd="aie__subcmd__help__subcmd__project__subcmd__add"
                ;;
            aie__subcmd__help__subcmd__project,init)
                cmd="aie__subcmd__help__subcmd__project__subcmd__init"
                ;;
            aie__subcmd__help__subcmd__project,show)
                cmd="aie__subcmd__help__subcmd__project__subcmd__show"
                ;;
            aie__subcmd__help__subcmd__query,apa)
                cmd="aie__subcmd__help__subcmd__query__subcmd__apa"
                ;;
            aie__subcmd__help__subcmd__query,apa-test)
                cmd="aie__subcmd__help__subcmd__query__subcmd__apa__subcmd__test"
                ;;
            aie__subcmd__help__subcmd__query,batch)
                cmd="aie__subcmd__help__subcmd__query__subcmd__batch"
                ;;
            aie__subcmd__help__subcmd__query,cooccur)
                cmd="aie__subcmd__help__subcmd__query__subcmd__cooccur"
                ;;
            aie__subcmd__help__subcmd__query,discover)
                cmd="aie__subcmd__help__subcmd__query__subcmd__discover"
                ;;
            aie__subcmd__help__subcmd__query,events)
                cmd="aie__subcmd__help__subcmd__query__subcmd__events"
                ;;
            aie__subcmd__help__subcmd__query,jset)
                cmd="aie__subcmd__help__subcmd__query__subcmd__jset"
                ;;
            aie__subcmd__help__subcmd__query,junction)
                cmd="aie__subcmd__help__subcmd__query__subcmd__junction"
                ;;
            aie__subcmd__help__subcmd__query,junctions)
                cmd="aie__subcmd__help__subcmd__query__subcmd__junctions"
                ;;
            aie__subcmd__help__subcmd__query,region)
                cmd="aie__subcmd__help__subcmd__query__subcmd__region"
                ;;
            aie__subcmd__help__subcmd__query,splice-graph)
                cmd="aie__subcmd__help__subcmd__query__subcmd__splice__subcmd__graph"
                ;;
            aie__subcmd__help__subcmd__query,transcript-ecs)
                cmd="aie__subcmd__help__subcmd__query__subcmd__transcript__subcmd__ecs"
                ;;
            aie__subcmd__ingest,check)
                cmd="aie__subcmd__ingest__subcmd__check"
                ;;
            aie__subcmd__ingest,help)
                cmd="aie__subcmd__ingest__subcmd__help"
                ;;
            aie__subcmd__ingest,recipe)
                cmd="aie__subcmd__ingest__subcmd__recipe"
                ;;
            aie__subcmd__ingest__subcmd__help,check)
                cmd="aie__subcmd__ingest__subcmd__help__subcmd__check"
                ;;
            aie__subcmd__ingest__subcmd__help,help)
                cmd="aie__subcmd__ingest__subcmd__help__subcmd__help"
                ;;
            aie__subcmd__ingest__subcmd__help,recipe)
                cmd="aie__subcmd__ingest__subcmd__help__subcmd__recipe"
                ;;
            aie__subcmd__plan,check)
                cmd="aie__subcmd__plan__subcmd__check"
                ;;
            aie__subcmd__plan,help)
                cmd="aie__subcmd__plan__subcmd__help"
                ;;
            aie__subcmd__plan,run)
                cmd="aie__subcmd__plan__subcmd__run"
                ;;
            aie__subcmd__plan__subcmd__help,check)
                cmd="aie__subcmd__plan__subcmd__help__subcmd__check"
                ;;
            aie__subcmd__plan__subcmd__help,help)
                cmd="aie__subcmd__plan__subcmd__help__subcmd__help"
                ;;
            aie__subcmd__plan__subcmd__help,run)
                cmd="aie__subcmd__plan__subcmd__help__subcmd__run"
                ;;
            aie__subcmd__project,add)
                cmd="aie__subcmd__project__subcmd__add"
                ;;
            aie__subcmd__project,help)
                cmd="aie__subcmd__project__subcmd__help"
                ;;
            aie__subcmd__project,init)
                cmd="aie__subcmd__project__subcmd__init"
                ;;
            aie__subcmd__project,show)
                cmd="aie__subcmd__project__subcmd__show"
                ;;
            aie__subcmd__project__subcmd__help,add)
                cmd="aie__subcmd__project__subcmd__help__subcmd__add"
                ;;
            aie__subcmd__project__subcmd__help,help)
                cmd="aie__subcmd__project__subcmd__help__subcmd__help"
                ;;
            aie__subcmd__project__subcmd__help,init)
                cmd="aie__subcmd__project__subcmd__help__subcmd__init"
                ;;
            aie__subcmd__project__subcmd__help,show)
                cmd="aie__subcmd__project__subcmd__help__subcmd__show"
                ;;
            aie__subcmd__query,apa)
                cmd="aie__subcmd__query__subcmd__apa"
                ;;
            aie__subcmd__query,apa-test)
                cmd="aie__subcmd__query__subcmd__apa__subcmd__test"
                ;;
            aie__subcmd__query,batch)
                cmd="aie__subcmd__query__subcmd__batch"
                ;;
            aie__subcmd__query,cooccur)
                cmd="aie__subcmd__query__subcmd__cooccur"
                ;;
            aie__subcmd__query,discover)
                cmd="aie__subcmd__query__subcmd__discover"
                ;;
            aie__subcmd__query,events)
                cmd="aie__subcmd__query__subcmd__events"
                ;;
            aie__subcmd__query,help)
                cmd="aie__subcmd__query__subcmd__help"
                ;;
            aie__subcmd__query,jset)
                cmd="aie__subcmd__query__subcmd__jset"
                ;;
            aie__subcmd__query,junction)
                cmd="aie__subcmd__query__subcmd__junction"
                ;;
            aie__subcmd__query,junctions)
                cmd="aie__subcmd__query__subcmd__junctions"
                ;;
            aie__subcmd__query,region)
                cmd="aie__subcmd__query__subcmd__region"
                ;;
            aie__subcmd__query,splice-graph)
                cmd="aie__subcmd__query__subcmd__splice__subcmd__graph"
                ;;
            aie__subcmd__query,transcript-ecs)
                cmd="aie__subcmd__query__subcmd__transcript__subcmd__ecs"
                ;;
            aie__subcmd__query__subcmd__help,apa)
                cmd="aie__subcmd__query__subcmd__help__subcmd__apa"
                ;;
            aie__subcmd__query__subcmd__help,apa-test)
                cmd="aie__subcmd__query__subcmd__help__subcmd__apa__subcmd__test"
                ;;
            aie__subcmd__query__subcmd__help,batch)
                cmd="aie__subcmd__query__subcmd__help__subcmd__batch"
                ;;
            aie__subcmd__query__subcmd__help,cooccur)
                cmd="aie__subcmd__query__subcmd__help__subcmd__cooccur"
                ;;
            aie__subcmd__query__subcmd__help,discover)
                cmd="aie__subcmd__query__subcmd__help__subcmd__discover"
                ;;
            aie__subcmd__query__subcmd__help,events)
                cmd="aie__subcmd__query__subcmd__help__subcmd__events"
                ;;
            aie__subcmd__query__subcmd__help,help)
                cmd="aie__subcmd__query__subcmd__help__subcmd__help"
                ;;
            aie__subcmd__query__subcmd__help,jset)
                cmd="aie__subcmd__query__subcmd__help__subcmd__jset"
                ;;
            aie__subcmd__query__subcmd__help,junction)
                cmd="aie__subcmd__query__subcmd__help__subcmd__junction"
                ;;
            aie__subcmd__query__subcmd__help,junctions)
                cmd="aie__subcmd__query__subcmd__help__subcmd__junctions"
                ;;
            aie__subcmd__query__subcmd__help,region)
                cmd="aie__subcmd__query__subcmd__help__subcmd__region"
                ;;
            aie__subcmd__query__subcmd__help,splice-graph)
                cmd="aie__subcmd__query__subcmd__help__subcmd__splice__subcmd__graph"
                ;;
            aie__subcmd__query__subcmd__help,transcript-ecs)
                cmd="aie__subcmd__query__subcmd__help__subcmd__transcript__subcmd__ecs"
                ;;
            *)
                ;;
        esac
    done

    case "${cmd}" in
        aie)
            opts="-h -V --help --version project plan doctor explore completions resolve ingest dev gate-c gate-d build umi-graph replay assign-diff sig-stats ingest-archive compile-annotation export-molecule-bam replay-rows compare-annotations query debug federate cohort collection em extend stamp-genome seal-archive inspect-archive help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__assign__subcmd__diff)
            opts="-h --gtf --examples --json-out --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --gtf)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --examples)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --json-out)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__build)
            opts="-h --whitelist --locus-gap --zstd-level --no-umi-collapse --json-out --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --whitelist)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --locus-gap)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --zstd-level)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --json-out)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__cohort)
            opts="-h --help events splice-graph transcript-ends polyasite-mixture help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__cohort__subcmd__events)
            opts="-o -h --sample --groups --event-type --min-support --min-samples --min-informative --min-row-informative --max-events --gtf --tsv --json --sparse-dir --format --output --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --sample)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --groups)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --event-type)
                    COMPREPLY=($(compgen -W "alt-acceptor alt-donor cassette" -- "${cur}"))
                    return 0
                    ;;
                --min-support)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --min-samples)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --min-informative)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --min-row-informative)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --max-events)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --gtf)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --sparse-dir)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --format)
                    COMPREPLY=($(compgen -W "text tsv json" -- "${cur}"))
                    return 0
                    ;;
                --output)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                -o)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__cohort__subcmd__help)
            opts="events splice-graph transcript-ends polyasite-mixture help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__cohort__subcmd__help__subcmd__events)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__cohort__subcmd__help__subcmd__help)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__cohort__subcmd__help__subcmd__polyasite__subcmd__mixture)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__cohort__subcmd__help__subcmd__splice__subcmd__graph)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__cohort__subcmd__help__subcmd__transcript__subcmd__ends)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__cohort__subcmd__polyasite__subcmd__mixture)
            opts="-h --design --gtf --genome --polyasite --group-contrast --out-dir --site-gap --tail-extend --min-site-umis --min-site-samples --min-group-gene-umis --min-samples --min-distal-umis --max-sites --shuffle-seed --report-format --report-output --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --design)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --gtf)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --genome)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --polyasite)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --group-contrast)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --out-dir)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --site-gap)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --tail-extend)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --min-site-umis)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --min-site-samples)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --min-group-gene-umis)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --min-samples)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --min-distal-umis)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --max-sites)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --shuffle-seed)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --report-format)
                    COMPREPLY=($(compgen -W "text tsv json" -- "${cur}"))
                    return 0
                    ;;
                --report-output)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__cohort__subcmd__splice__subcmd__graph)
            opts="-o -h --design --contrast --counts-only --min-support --min-edge-samples --min-sample-umis --min-replicates --min-path-umis --min-path-samples --max-paths --json --format --output --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --design)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --contrast)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --min-support)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --min-edge-samples)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --min-sample-umis)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --min-replicates)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --min-path-umis)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --min-path-samples)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --max-paths)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --format)
                    COMPREPLY=($(compgen -W "text tsv json" -- "${cur}"))
                    return 0
                    ;;
                --output)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                -o)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__cohort__subcmd__transcript__subcmd__ends)
            opts="-h --design --gtf --genome --polyasite --group-contrast --out-dir --site-gap --tail-extend --min-site-umis --min-site-samples --motif-min-samples --min-group-gene-umis --min-samples --min-distal-umis --max-sites --shuffle-seed --report-format --report-output --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --design)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --gtf)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --genome)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --polyasite)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --group-contrast)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --out-dir)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --site-gap)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --tail-extend)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --min-site-umis)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --min-site-samples)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --motif-min-samples)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --min-group-gene-umis)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --min-samples)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --min-distal-umis)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --max-sites)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --shuffle-seed)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --report-format)
                    COMPREPLY=($(compgen -W "text tsv json" -- "${cur}"))
                    return 0
                    ;;
                --report-output)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__collection)
            opts="-h --help build inspect junction region jset find-events help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__collection__subcmd__build)
            opts="-o -h --sample --source-digest --base --out --allow-unstamped --shape-routes --json --format --output --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --sample)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --source-digest)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --base)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --out)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --format)
                    COMPREPLY=($(compgen -W "text tsv json" -- "${cur}"))
                    return 0
                    ;;
                --output)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                -o)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__collection__subcmd__find__subcmd__events)
            opts="-o -h --kind --design --groups --require-group --min-group-umis --min-group-umi-classes --min-donors --min-samples --min-umis --min-umi-classes --min-side-umis --min-side-umi-classes --min-support --terminal-cluster-bp --max-terminal-events --annotation --assembly --annotation-label --annotation-digest --novel-only --solo-strand --max-candidates --max-candidates-considered --max-routed-entries --max-exact-match-attempts --max-annotation-comparisons --verify-content --format --output --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --kind)
                    COMPREPLY=($(compgen -W "junction alt-acceptor alt-donor cassette terminal-tail" -- "${cur}"))
                    return 0
                    ;;
                --design)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --groups)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --require-group)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --min-group-umi-classes)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --min-group-umis)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --min-donors)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --min-samples)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --min-umi-classes)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --min-umis)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --min-side-umi-classes)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --min-side-umis)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --min-support)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --terminal-cluster-bp)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --max-terminal-events)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --annotation)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --assembly)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --annotation-label)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --annotation-digest)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --solo-strand)
                    COMPREPLY=($(compgen -W "forward reverse unstranded" -- "${cur}"))
                    return 0
                    ;;
                --max-candidates)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --max-candidates-considered)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --max-routed-entries)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --max-exact-match-attempts)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --max-annotation-comparisons)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --format)
                    COMPREPLY=($(compgen -W "text tsv json" -- "${cur}"))
                    return 0
                    ;;
                --output)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                -o)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__collection__subcmd__help)
            opts="build inspect junction region jset find-events help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__collection__subcmd__help__subcmd__build)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__collection__subcmd__help__subcmd__find__subcmd__events)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__collection__subcmd__help__subcmd__help)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__collection__subcmd__help__subcmd__inspect)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__collection__subcmd__help__subcmd__jset)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__collection__subcmd__help__subcmd__junction)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__collection__subcmd__help__subcmd__region)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__collection__subcmd__inspect)
            opts="-o -h --verify-content --verify-routes --format --output --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --format)
                    COMPREPLY=($(compgen -W "text tsv json" -- "${cur}"))
                    return 0
                    ;;
                --output)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                -o)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__collection__subcmd__jset)
            opts="-o -h --include --exclude --min-support --top --explain --verify-content --json --format --output --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --include)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --exclude)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --min-support)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --top)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --format)
                    COMPREPLY=($(compgen -W "text tsv json" -- "${cur}"))
                    return 0
                    ;;
                --output)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                -o)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__collection__subcmd__junction)
            opts="-o -h --min-support --top --explain --verify-content --json --format --output --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --min-support)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --top)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --format)
                    COMPREPLY=($(compgen -W "text tsv json" -- "${cur}"))
                    return 0
                    ;;
                --output)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                -o)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__collection__subcmd__region)
            opts="-o -h --top --explain --verify-content --json --format --output --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --top)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --format)
                    COMPREPLY=($(compgen -W "text tsv json" -- "${cur}"))
                    return 0
                    ;;
                --output)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                -o)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__compare__subcmd__annotations)
            opts="-o -h --annotation-a --annotation-b --assembly --annotation-a-label --annotation-b-label --annotation-a-digest --annotation-b-digest --gene-key --solo-strand --max-molecule-witnesses --max-row-transitions-per-molecule --allow-identical --format --table --output --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --annotation-a)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --annotation-b)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --assembly)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --annotation-a-label)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --annotation-b-label)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --annotation-a-digest)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --annotation-b-digest)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --gene-key)
                    COMPREPLY=($(compgen -W "unversioned exact" -- "${cur}"))
                    return 0
                    ;;
                --solo-strand)
                    COMPREPLY=($(compgen -W "forward reverse unstranded" -- "${cur}"))
                    return 0
                    ;;
                --max-molecule-witnesses)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --max-row-transitions-per-molecule)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --format)
                    COMPREPLY=($(compgen -W "text json tsv" -- "${cur}"))
                    return 0
                    ;;
                --table)
                    COMPREPLY=($(compgen -W "count-deltas class-transitions contributing-causes witnesses" -- "${cur}"))
                    return 0
                    ;;
                --output)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                -o)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__compile__subcmd__annotation)
            opts="-h --out --report-format --report-output --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --out)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --report-format)
                    COMPREPLY=($(compgen -W "text tsv json" -- "${cur}"))
                    return 0
                    ;;
                --report-output)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__completions)
            opts="-h --help bash zsh fish"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__debug)
            opts="-h --dump-dir --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --dump-dir)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__dev)
            opts="-h --help gate-c gate-d build umi-graph replay assign-diff sig-stats debug em help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__dev__subcmd__assign__subcmd__diff)
            opts="-h --gtf --examples --json-out --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --gtf)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --examples)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --json-out)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__dev__subcmd__build)
            opts="-h --whitelist --locus-gap --zstd-level --no-umi-collapse --json-out --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --whitelist)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --locus-gap)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --zstd-level)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --json-out)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__dev__subcmd__debug)
            opts="-h --dump-dir --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --dump-dir)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__dev__subcmd__em)
            opts="-h --gtf --mask --seed --alpha --groups --group-alpha --global-alpha --convex-cell-weight --convex-group-weight --convex-group-prior --convex-only --dirichlet-cell-prior --dirichlet-group-prior --dirichlet-only --hybrid-depth-scale --hybrid-depth-power --hybrid-only --collapse-groups --metrics-json --candidate-genes-out --candidate-genes-only --emit --barcodes --star --eager --plot --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --gtf)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --mask)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --seed)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --alpha)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --groups)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --group-alpha)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --global-alpha)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --convex-cell-weight)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --convex-group-weight)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --convex-group-prior)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --dirichlet-cell-prior)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --dirichlet-group-prior)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --hybrid-depth-scale)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --hybrid-depth-power)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --metrics-json)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --candidate-genes-out)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --emit)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --barcodes)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --plot)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__dev__subcmd__gate__subcmd__c)
            opts="-h --gene-assigned-from --json-out --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --gene-assigned-from)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --json-out)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__dev__subcmd__gate__subcmd__d)
            opts="-h --locus-gap --cells --correct-umi --json-out --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --locus-gap)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --cells)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --json-out)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__dev__subcmd__help)
            opts="gate-c gate-d build umi-graph replay assign-diff sig-stats debug em help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__dev__subcmd__help__subcmd__assign__subcmd__diff)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__dev__subcmd__help__subcmd__build)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__dev__subcmd__help__subcmd__debug)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__dev__subcmd__help__subcmd__em)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__dev__subcmd__help__subcmd__gate__subcmd__c)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__dev__subcmd__help__subcmd__gate__subcmd__d)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__dev__subcmd__help__subcmd__help)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__dev__subcmd__help__subcmd__replay)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__dev__subcmd__help__subcmd__sig__subcmd__stats)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__dev__subcmd__help__subcmd__umi__subcmd__graph)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__dev__subcmd__replay)
            opts="-h --gtf --whitelist --barcodes --out-dir --locus-gap --use-cb-tag --no-collapse --no-multigene-filter --read-level --simple-bc --chain-representative --two-reps --no-multimappers --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --gtf)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --whitelist)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --barcodes)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --out-dir)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --locus-gap)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__dev__subcmd__sig__subcmd__stats)
            opts="-h --whitelist --locus-gap --site-gap --zstd-level --json-out --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --whitelist)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --locus-gap)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --site-gap)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --zstd-level)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --json-out)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__dev__subcmd__umi__subcmd__graph)
            opts="-h --cells --locus-gap --store-window --json-out --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --cells)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --locus-gap)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --store-window)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --json-out)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__doctor)
            opts="-h --project --verify-content --strict --json --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --project)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__em)
            opts="-h --gtf --mask --seed --alpha --groups --group-alpha --global-alpha --convex-cell-weight --convex-group-weight --convex-group-prior --convex-only --dirichlet-cell-prior --dirichlet-group-prior --dirichlet-only --hybrid-depth-scale --hybrid-depth-power --hybrid-only --collapse-groups --metrics-json --candidate-genes-out --candidate-genes-only --emit --barcodes --star --eager --plot --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --gtf)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --mask)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --seed)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --alpha)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --groups)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --group-alpha)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --global-alpha)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --convex-cell-weight)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --convex-group-weight)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --convex-group-prior)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --dirichlet-cell-prior)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --dirichlet-group-prior)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --hybrid-depth-scale)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --hybrid-depth-power)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --metrics-json)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --candidate-genes-out)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --emit)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --barcodes)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --plot)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__explore)
            opts="-h --project --port --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --project)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --port)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__export__subcmd__molecule__subcmd__bam)
            opts="-h --fai --out --report-format --report-output --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --fai)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --out)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --report-format)
                    COMPREPLY=($(compgen -W "text tsv json" -- "${cur}"))
                    return 0
                    ;;
                --report-output)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__extend)
            opts="-h --gtf --out-gtf --report --report-format --report-output --genome --max-extend --evidence-gap --min-umis --min-cells --site-gap --min-extension --clip-any-strand --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --gtf)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --out-gtf)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --report)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --report-format)
                    COMPREPLY=($(compgen -W "text tsv json" -- "${cur}"))
                    return 0
                    ;;
                --report-output)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --genome)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --max-extend)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --evidence-gap)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --min-umis)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --min-cells)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --site-gap)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --min-extension)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__federate)
            opts="-o -h --top --format --output --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --top)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --format)
                    COMPREPLY=($(compgen -W "text tsv json" -- "${cur}"))
                    return 0
                    ;;
                --output)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                -o)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__gate__subcmd__c)
            opts="-h --gene-assigned-from --json-out --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --gene-assigned-from)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --json-out)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__gate__subcmd__d)
            opts="-h --locus-gap --cells --correct-umi --json-out --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --locus-gap)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --cells)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --json-out)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help)
            opts="project plan doctor explore completions resolve ingest dev gate-c gate-d build umi-graph replay assign-diff sig-stats ingest-archive compile-annotation export-molecule-bam replay-rows compare-annotations query debug federate cohort collection em extend stamp-genome seal-archive inspect-archive help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__assign__subcmd__diff)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__build)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__cohort)
            opts="events splice-graph transcript-ends polyasite-mixture"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__cohort__subcmd__events)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__cohort__subcmd__polyasite__subcmd__mixture)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__cohort__subcmd__splice__subcmd__graph)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__cohort__subcmd__transcript__subcmd__ends)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__collection)
            opts="build inspect junction region jset find-events"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__collection__subcmd__build)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__collection__subcmd__find__subcmd__events)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__collection__subcmd__inspect)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__collection__subcmd__jset)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__collection__subcmd__junction)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__collection__subcmd__region)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__compare__subcmd__annotations)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__compile__subcmd__annotation)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__completions)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__debug)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__dev)
            opts="gate-c gate-d build umi-graph replay assign-diff sig-stats debug em"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__dev__subcmd__assign__subcmd__diff)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__dev__subcmd__build)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__dev__subcmd__debug)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__dev__subcmd__em)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__dev__subcmd__gate__subcmd__c)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__dev__subcmd__gate__subcmd__d)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__dev__subcmd__replay)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__dev__subcmd__sig__subcmd__stats)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__dev__subcmd__umi__subcmd__graph)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__doctor)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__em)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__explore)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__export__subcmd__molecule__subcmd__bam)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__extend)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__federate)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__gate__subcmd__c)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__gate__subcmd__d)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__help)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__ingest)
            opts="check recipe"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__ingest__subcmd__archive)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__ingest__subcmd__check)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__ingest__subcmd__recipe)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__inspect__subcmd__archive)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__plan)
            opts="check run"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__plan__subcmd__check)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__plan__subcmd__run)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__project)
            opts="init add show"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__project__subcmd__add)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__project__subcmd__init)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__project__subcmd__show)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__query)
            opts="transcript-ecs batch cooccur region junction junctions jset events splice-graph apa apa-test discover"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__query__subcmd__apa)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__query__subcmd__apa__subcmd__test)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__query__subcmd__batch)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__query__subcmd__cooccur)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__query__subcmd__discover)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__query__subcmd__events)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__query__subcmd__jset)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__query__subcmd__junction)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__query__subcmd__junctions)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__query__subcmd__region)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__query__subcmd__splice__subcmd__graph)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__query__subcmd__transcript__subcmd__ecs)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__replay)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__replay__subcmd__rows)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__resolve)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__seal__subcmd__archive)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__sig__subcmd__stats)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__stamp__subcmd__genome)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__help__subcmd__umi__subcmd__graph)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__ingest)
            opts="-h --help check recipe help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__ingest__subcmd__archive)
            opts="-h --whitelist --out --locus-gap --zstd-level --chunk-mb --genome --terminal-tails --junction-discovery --junction-catalogue --alignment-annotation --alignment-index-identity --alignment-input --alignment-log --alignment-chemistry --report-format --report-output --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --whitelist)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --out)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --locus-gap)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --zstd-level)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --chunk-mb)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --genome)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --junction-discovery)
                    COMPREPLY=($(compgen -W "unspecified one-pass per-library-two-pass frozen-catalogue" -- "${cur}"))
                    return 0
                    ;;
                --junction-catalogue)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --alignment-annotation)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --alignment-index-identity)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --alignment-input)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --alignment-log)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --alignment-chemistry)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --report-format)
                    COMPREPLY=($(compgen -W "text tsv json" -- "${cur}"))
                    return 0
                    ;;
                --report-output)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__ingest__subcmd__check)
            opts="-h --whitelist --chemistry --strict --format --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --whitelist)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --chemistry)
                    COMPREPLY=($(compgen -W "10x-3p-v2 10x-3p-v3" -- "${cur}"))
                    return 0
                    ;;
                --format)
                    COMPREPLY=($(compgen -W "text json" -- "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__ingest__subcmd__help)
            opts="check recipe help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__ingest__subcmd__help__subcmd__check)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__ingest__subcmd__help__subcmd__help)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__ingest__subcmd__help__subcmd__recipe)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__ingest__subcmd__recipe)
            opts="-h --chemistry --genome-dir --read1 --read2 --whitelist --out-prefix --threads --plain-fastq --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --chemistry)
                    COMPREPLY=($(compgen -W "10x-3p-v2 10x-3p-v3" -- "${cur}"))
                    return 0
                    ;;
                --genome-dir)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --read1)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --read2)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --whitelist)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --out-prefix)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --threads)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__inspect__subcmd__archive)
            opts="-h --verify-content --json --format --output --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --format)
                    COMPREPLY=($(compgen -W "text tsv json" -- "${cur}"))
                    return 0
                    ;;
                --output)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__plan)
            opts="-h --help check run help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__plan__subcmd__check)
            opts="-h --project --explain --json --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --project)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__plan__subcmd__help)
            opts="check run help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__plan__subcmd__help__subcmd__check)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__plan__subcmd__help__subcmd__help)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__plan__subcmd__help__subcmd__run)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__plan__subcmd__run)
            opts="-h --project --explain --dry-run --resume --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --project)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__project)
            opts="-h --help init add show help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__project__subcmd__add)
            opts="-h --kind --external --project --replace --assembly --annotation-label --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --kind)
                    COMPREPLY=($(compgen -W "auto archive collection annotation genome bam barcodes whitelist groups cells design metadata file" -- "${cur}"))
                    return 0
                    ;;
                --project)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --assembly)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --annotation-label)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__project__subcmd__help)
            opts="init add show help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__project__subcmd__help__subcmd__add)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__project__subcmd__help__subcmd__help)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__project__subcmd__help__subcmd__init)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__project__subcmd__help__subcmd__show)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__project__subcmd__init)
            opts="-h --name --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --name)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__project__subcmd__show)
            opts="-h --project --json --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --project)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__query)
            opts="-h --help transcript-ecs batch cooccur region junction junctions jset events splice-graph apa apa-test discover help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__query__subcmd__apa)
            opts="-o -h --site-gap --strand --tsv --groups --genome --drop-ip --permute --seed --plot --format --output --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --site-gap)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --strand)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --groups)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --genome)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --permute)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --seed)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --plot)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --format)
                    COMPREPLY=($(compgen -W "text tsv json" -- "${cur}"))
                    return 0
                    ;;
                --output)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                -o)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__query__subcmd__apa__subcmd__test)
            opts="-o -h --gtf --groups --genome --site-gap --min-site-umis --min-gene-umis --tail-extend --permute --seed --format --output --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --gtf)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --groups)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --genome)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --site-gap)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --min-site-umis)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --min-gene-umis)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --tail-extend)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --permute)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --seed)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --format)
                    COMPREPLY=($(compgen -W "text tsv json" -- "${cur}"))
                    return 0
                    ;;
                --output)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                -o)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__query__subcmd__batch)
            opts="-o -h --plan --top --format --output --cells --groups --agg --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --plan)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --top)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --format)
                    COMPREPLY=($(compgen -W "text tsv json" -- "${cur}"))
                    return 0
                    ;;
                --output)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                -o)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --cells)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --groups)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --agg)
                    COMPREPLY=($(compgen -W "auto cell group bulk" -- "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__query__subcmd__cooccur)
            opts="-o -h --predicate --where --universe --unit --region-match --placements --allow-full-scan --max-chunks --max-evidence-records --max-terminal-events --emit-membership --max-memberships --max-pattern-rows --cells --groups --agg --format --output --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --predicate)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --where)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --universe)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --unit)
                    COMPREPLY=($(compgen -W "molecule-record umi-class" -- "${cur}"))
                    return 0
                    ;;
                --region-match)
                    COMPREPLY=($(compgen -W "anchor aligned-block" -- "${cur}"))
                    return 0
                    ;;
                --placements)
                    COMPREPLY=($(compgen -W "unique direct all" -- "${cur}"))
                    return 0
                    ;;
                --max-chunks)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --max-evidence-records)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --max-terminal-events)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --max-memberships)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --max-pattern-rows)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --cells)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --groups)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --agg)
                    COMPREPLY=($(compgen -W "auto cell group bulk" -- "${cur}"))
                    return 0
                    ;;
                --format)
                    COMPREPLY=($(compgen -W "text tsv json" -- "${cur}"))
                    return 0
                    ;;
                --output)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                -o)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__query__subcmd__discover)
            opts="-o -h --gtf --merge-gap --min-umis --residual-min-umis --claim-mode --solo-strand --tsv --emit-gtf --format --output --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --gtf)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --merge-gap)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --min-umis)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --residual-min-umis)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --claim-mode)
                    COMPREPLY=($(compgen -W "span strand-span compatible residual-sites" -- "${cur}"))
                    return 0
                    ;;
                --solo-strand)
                    COMPREPLY=($(compgen -W "forward reverse unstranded" -- "${cur}"))
                    return 0
                    ;;
                --emit-gtf)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --format)
                    COMPREPLY=($(compgen -W "text tsv json" -- "${cur}"))
                    return 0
                    ;;
                --output)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                -o)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__query__subcmd__events)
            opts="-o -h --event-type --min-support --min-informative --max-events --top --gtf --tsv --json --format --output --cells --groups --agg --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --event-type)
                    COMPREPLY=($(compgen -W "alt-acceptor alt-donor cassette" -- "${cur}"))
                    return 0
                    ;;
                --min-support)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --min-informative)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --max-events)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --top)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --gtf)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --format)
                    COMPREPLY=($(compgen -W "text tsv json" -- "${cur}"))
                    return 0
                    ;;
                --output)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                -o)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --cells)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --groups)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --agg)
                    COMPREPLY=($(compgen -W "auto cell group bulk" -- "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__query__subcmd__help)
            opts="transcript-ecs batch cooccur region junction junctions jset events splice-graph apa apa-test discover help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__query__subcmd__help__subcmd__apa)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__query__subcmd__help__subcmd__apa__subcmd__test)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__query__subcmd__help__subcmd__batch)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__query__subcmd__help__subcmd__cooccur)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__query__subcmd__help__subcmd__discover)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__query__subcmd__help__subcmd__events)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__query__subcmd__help__subcmd__help)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__query__subcmd__help__subcmd__jset)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__query__subcmd__help__subcmd__junction)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__query__subcmd__help__subcmd__junctions)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__query__subcmd__help__subcmd__region)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__query__subcmd__help__subcmd__splice__subcmd__graph)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__query__subcmd__help__subcmd__transcript__subcmd__ecs)
            opts=""
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__query__subcmd__jset)
            opts="-o -h --include --exclude --top --tsv --json --format --output --cells --groups --agg --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --include)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --exclude)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --top)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --format)
                    COMPREPLY=($(compgen -W "text tsv json" -- "${cur}"))
                    return 0
                    ;;
                --output)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                -o)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --cells)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --groups)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --agg)
                    COMPREPLY=($(compgen -W "auto cell group bulk" -- "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__query__subcmd__junction)
            opts="-o -h --top --tsv --json --format --output --cells --groups --agg --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --top)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --format)
                    COMPREPLY=($(compgen -W "text tsv json" -- "${cur}"))
                    return 0
                    ;;
                --output)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                -o)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --cells)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --groups)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --agg)
                    COMPREPLY=($(compgen -W "auto cell group bulk" -- "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__query__subcmd__junctions)
            opts="-o -h --either --min-support --with-cells --min-cells --gtf --tsv --json --format --output --cells --groups --agg --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --min-support)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --min-cells)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --gtf)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --format)
                    COMPREPLY=($(compgen -W "text tsv json" -- "${cur}"))
                    return 0
                    ;;
                --output)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                -o)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --cells)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --groups)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --agg)
                    COMPREPLY=($(compgen -W "auto cell group bulk" -- "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__query__subcmd__region)
            opts="-o -h --top --plot --export-prefix --gtf --tsv --json --format --output --cells --groups --agg --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --top)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --plot)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --export-prefix)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --gtf)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --format)
                    COMPREPLY=($(compgen -W "text tsv json" -- "${cur}"))
                    return 0
                    ;;
                --output)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                -o)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --cells)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --groups)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --agg)
                    COMPREPLY=($(compgen -W "auto cell group bulk" -- "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__query__subcmd__splice__subcmd__graph)
            opts="-o -h --min-support --min-path-umis --max-paths --json --format --output --cells --groups --agg --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --min-support)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --min-path-umis)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --max-paths)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --format)
                    COMPREPLY=($(compgen -W "text tsv json" -- "${cur}"))
                    return 0
                    ;;
                --output)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                -o)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --cells)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --groups)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --agg)
                    COMPREPLY=($(compgen -W "auto cell group bulk" -- "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__query__subcmd__transcript__subcmd__ecs)
            opts="-o -h --annotation-file --assembly --annotation-label --annotation-digest --feature --locus --solo-strand --cells --groups --agg --emit-membership --max-ecs --max-memberships --format --table --output --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --annotation-file)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --assembly)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --annotation-label)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --annotation-digest)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --feature)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --locus)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --solo-strand)
                    COMPREPLY=($(compgen -W "forward reverse unstranded" -- "${cur}"))
                    return 0
                    ;;
                --cells)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --groups)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --agg)
                    COMPREPLY=($(compgen -W "auto cell group bulk" -- "${cur}"))
                    return 0
                    ;;
                --max-ecs)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --max-memberships)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --format)
                    COMPREPLY=($(compgen -W "text json tsv" -- "${cur}"))
                    return 0
                    ;;
                --table)
                    COMPREPLY=($(compgen -W "catalog counts membership" -- "${cur}"))
                    return 0
                    ;;
                --output)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                -o)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__replay)
            opts="-h --gtf --whitelist --barcodes --out-dir --locus-gap --use-cb-tag --no-collapse --no-multigene-filter --read-level --simple-bc --chain-representative --two-reps --no-multimappers --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --gtf)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --whitelist)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --barcodes)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --out-dir)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --locus-gap)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__replay__subcmd__rows)
            opts="-h --gtf --from-bam --from-molecule-bam --whitelist --barcodes --out-dir --locus-gap --velocity --solo-strand --audit-multigene --eager --report-format --report-output --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --gtf)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --whitelist)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --barcodes)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --out-dir)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --locus-gap)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --solo-strand)
                    COMPREPLY=($(compgen -W "forward reverse unstranded" -- "${cur}"))
                    return 0
                    ;;
                --report-format)
                    COMPREPLY=($(compgen -W "text tsv json" -- "${cur}"))
                    return 0
                    ;;
                --report-output)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__resolve)
            opts="-o -h --assembly --annotation --annotation-digest --format --output --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --assembly)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --annotation)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --annotation-digest)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --format)
                    COMPREPLY=($(compgen -W "text tsv json" -- "${cur}"))
                    return 0
                    ;;
                --output)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                -o)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__seal__subcmd__archive)
            opts="-h --out --json --report-format --report-output --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --out)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --report-format)
                    COMPREPLY=($(compgen -W "text tsv json" -- "${cur}"))
                    return 0
                    ;;
                --report-output)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__sig__subcmd__stats)
            opts="-h --whitelist --locus-gap --site-gap --zstd-level --json-out --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --whitelist)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --locus-gap)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --site-gap)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --zstd-level)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --json-out)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__stamp__subcmd__genome)
            opts="-h --genome --out --report-format --report-output --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --genome)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --out)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --report-format)
                    COMPREPLY=($(compgen -W "text tsv json" -- "${cur}"))
                    return 0
                    ;;
                --report-output)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
        aie__subcmd__umi__subcmd__graph)
            opts="-h --cells --locus-gap --store-window --json-out --help"
            if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
                return 0
            fi
            case "${prev}" in
                --cells)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --locus-gap)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --store-window)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                --json-out)
                    COMPREPLY=($(compgen -f "${cur}"))
                    return 0
                    ;;
                *)
                    COMPREPLY=()
                    ;;
            esac
            COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
            return 0
            ;;
    esac
}

if [[ "${BASH_VERSINFO[0]}" -eq 4 && "${BASH_VERSINFO[1]}" -ge 4 || "${BASH_VERSINFO[0]}" -gt 4 ]]; then
    complete -F _aie -o nosort -o bashdefault -o default aie
else
    complete -F _aie -o bashdefault -o default aie
fi
