Relative Content

Tag Archive for pythonubuntubioinformaticssnakemake

Is there a way I can use snakemake to generate files based on sequence in a list?

#Make 1 library.csv for a pair of ATAC and RNA seq accession numbers def read_rna_accession(): with open(‘rna_accessions.txt’) as f: samples = [sample for sample in f.read().split(‘n’) if len(sample) > 0] # Remove empty lines return samples def read_atac_accession(): with open(‘atac_accessions.txt’) as f: samples = [sample for sample in f.read().split(‘n’) if len(sample) > 0] # Remove […]