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!')
#!/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'})
def test_parse_samplesheet(): from singlet.io import parse_samplesheet print('Parsing example sample sheet') table = parse_samplesheet({'sheetname': 'example_sheet_tsv'}) print('Done!')
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!')