configfile: srcdir('config.yaml')

fasta_dir = config['blast']['fasta_dir']
pipeline = glob_wildcards('%s/{sample, %s}.fa' % (fasta_dir, config['sample_pattern']))

include: config['snakelines_dir'] + '/rules/classification/classifiers/blast.snake'
include: config['snakelines_dir'] + '/rules/classification/report/fasta_summary.snake'

rule process:
    input:
        expand('{fasta_dir}/blast-nocoverage/{sample}.html',
                fasta_dir=fasta_dir, sample=pipeline.samples)