def __init__(self, fwd, rev, parent=None): # FASTQ objects # self.fwd = FASTQ(fwd) self.rev = FASTQ(rev) # Extra # self.gzipped = self.fwd.gzipped self.parent = parent
def __init__(self, source, dest=None): # Basic # self.source = FASTQ(source) self.dest = DirectoryPath(dest) # Default case # if dest is None: self.dest = DirectoryPath(self.source.prefix_path + '.fastqc')