utils/genome_search_utils.py
def index_sequence_file(seq_file):
    """
    Uses esl-sfetch to index a sequence file. The sequence file must be in
    fasta format

    seq_file (string): A string representing the path to the sequence file

    output: An indexed file X.fa.ssi
    returns: void
    """
    esl_sfetch = ""

    # call command to index sequence file
    cmd = "esl-sfetch --index %s" % seq_file
    subprocess.call(cmd, shell=True)

    Uses esl-sfetch to index a sequence file. The sequence file must be in
    fasta format

    seq_file (string): A string representing the path to the sequence file

    output: An indexed file X.fa.ssi
    returns: void
    
Uses esl-sfetch to index a sequence file. The sequence file must be in
fasta format

seq_file (string): A string representing the path to the sequence file

An indexed file X.fa.ssi
returns: void
Uses esl - sfetch to index a sequence file . The sequence file must be in fasta format seq_file ( string ) : A string representing the path to the sequence file An indexed file X . fa . ssi returns : void
def index_sequence_file(seq_file):
    esl_sfetch = ""
    cmd = "esl-sfetch --index %s" % seq_file
    subprocess.call(cmd, shell=True)
def index_sequence_file ( seq_file ) : esl_sfetch = "" cmd = "esl-sfetch --index %s" % seq_file subprocess . call ( cmd , shell = True )
Uses esl-sfetch to index a sequence file.
Uses esl - sfetch to index a sequence file .
"""
    Uses esl-sfetch to index a sequence file. The sequence file must be in
    fasta format

    seq_file (string): A string representing the path to the sequence file

    output: An indexed file X.fa.ssi
    returns: void
    """ # call command to index sequence file
seq_file