<reponame>bi-compbio/scrnax
from snakemake.utils import R
from itertools import repeat
from os.path import join
import os
import shutil
import pandas
import jsonschema
import math

# this container defines the underlying OS for each job when using the workflow
# with --use-conda --use-singularity
singularity: "docker://continuumio/miniconda3"

##### load config and sample sheets #####

configfile: "config/config.yaml"
validate(config, schema="../schemas/config.schema.yaml")

samples = pd.read_csv(config["samples"], sep="\t").set_index("sample", drop=False)
samples.index.names = ["sample_id"]
validate(samples, schema="../schemas/samples.schema.yaml")

from snakemake.utils import R
from itertools import repeat
from os.path import join
import os
import shutil
import pandas
import jsonschema
import math

# this container defines the underlying OS for each job when using the workflow
# with --use-conda --use-singularity
singularity: "docker://continuumio/miniconda3"

##### load config and sample sheets #####

configfile: "config/config.yaml"
validate(config, schema="../schemas/config.schema.yaml")

samples = pd.read_csv(config["samples"], sep="\t").set_index("sample", drop=False)
samples.index.names = ["sample_id"]
validate(samples, schema="../schemas/samples.schema.yaml")
# this container defines the underlying OS for each job when using the workflow # with --use-conda --use-singularity ##### load config and sample sheets #####