Beispiel #1
0
def list_samples(args):
    sample_config_file_path = args.config
    config = SamplesConfig(sample_config_file_path)
    for sample in config.list_sample_names():
        print(sample)

    print(config.list_sample_names())
 def list_mates_to_align(self):
     cnfg = SamplesConfig("Config/samples_config.yaml")
     mates_to_align = [Mate.from_dict(mate) for mate in cnfg.list_mates()]
     mates_to_align = filter(lambda x: x.align, mates_to_align)
     return mates_to_align