Example #1
0
def fastq_clones(opts, line_num):
    """Finds the number of times to clone based on actual fastq dist.

    :param args opts: user-inputted args parsed by argparse
    :param int line_num: the number of lines in the file
    :return list data_list: the list of numbers selected from the file's distribution
    """
    data_list = give_clone_list(opts, line_num)
    print yellow("[STATUS] List created.")
    return data_list
Example #2
0
def fastq_clones(opts, line_num):
    """Finds the number of times to clone based on actual fastq dist.

    :param args opts: user-inputted args parsed by argparse
    :param int line_num: the number of lines in the file
    :return list data_list: the list of numbers selected from the file's distribution
    """
    data_list = give_clone_list(opts, line_num)
    print yellow("[STATUS] List created.")
    return data_list
def fastq_clones(status_updates, line_num, infile):
    """Finds the number of times to clone based on actual fastq dist.

    :param bool status_updates: whether or not to print updates while running
    :param int line_num: the number of lines in the file
    :return list data_list: the list of numbers selected from the file's distribution
    """
    data_list = give_clone_list(infile, line_num)
    if status_updates:
        print "[STATUS] List created."
    return data_list
def fastq_clones(status_updates, line_num, infile):
    """Finds the number of times to clone based on actual fastq dist.

    :param bool status_updates: whether or not to print updates while running
    :param int line_num: the number of lines in the file
    :return list data_list: the list of numbers selected from the file's distribution
    """
    data_list = give_clone_list(infile, line_num)
    if status_updates:
        print "[STATUS] List created."
    return data_list