예제 #1
0
def test_parse_googleapi():
    from singlet.io import parse_samplesheet
    print('Parsing example Google Drive API sample sheet')
    table = parse_samplesheet({'sheetname': 'example_sheet_googleapi'})
    print('Done!')
예제 #2
0
#!/usr/bin/env python
# vim: fdm=indent
'''
author:     Fabio Zanini
date:       07/08/17
content:    Test CSV/TSV parser for sample sheets.
'''
# Script
if __name__ == '__main__':

    # NOTE: an env variable for the config file needs to be set when
    # calling this script
    from singlet.io import parse_samplesheet

    print('Parsing example TSV sample sheet')
    table = parse_samplesheet('example_sheet_tsv')

    #TODO: check it's correct
    print('Done!')
def test_parse_samplesheet_tsv():
    from singlet.io import parse_samplesheet
    table = parse_samplesheet({'sheetname': 'example_sheet_tsv'})
예제 #4
0
def test_parse_samplesheet():
    from singlet.io import parse_samplesheet
    print('Parsing example sample sheet')
    table = parse_samplesheet({'sheetname': 'example_sheet_tsv'})
    print('Done!')
예제 #5
0
def test_parse_samplesheet():
    print('Parsing example TSV count table from dataset')
    from singlet.io import parse_samplesheet
    table = parse_samplesheet({'datasetname': 'example_dataset'})
    print('Done!')