def _symlink_or_copy_grabix(in_file, out_file, data):
    """We cannot symlink in CWL, but may be able to use inputs or copy
    """
    if cwlutils.is_cwl_run(data):
        # Has grabix indexes, we're okay to go
        if utils.file_exists(in_file + ".gbi"):
            out_file = in_file
        else:
            utils.copy_plus(in_file, out_file)
    else:
        utils.symlink_plus(in_file, out_file)
    return out_file
def _symlink_or_copy_grabix ( in_file , out_file , data ) : if cwlutils . is_cwl_run ( data ) : if utils . file_exists ( in_file + ".gbi" ) : out_file = in_file else : utils . copy_plus ( in_file , out_file ) else : utils . symlink_plus ( in_file , out_file ) return out_file
We cannot symlink in CWL, but may be able to use inputs or copy