Skip to content

Commit

Permalink
Get reads from db
Browse files Browse the repository at this point in the history
  • Loading branch information
kriskiil committed Nov 7, 2024
1 parent 3075b33 commit d42e410
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bifrost_sp_ecoli/pipeline.smk
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ rule run_ecolityping:
f"{component['name']}/benchmarks/{rule_name}.benchmark",
input: # files
rules.check_requirements.output.check_file,
reads = reads,
reads = sample['categories']['paired_reads']['summary']['data'],
db = f"{resources_dir}/{component['resources']['db']}",
params: # values
sample_id = sample.name,
Expand All @@ -106,7 +106,6 @@ rule run_ecolityping:
# Type
python3 ecoli_fbi/ecolityping.py -i {params.sample_id} -R1 {input.reads[0]} -R2 {input.reads[1]} -o {output.folder} -db {input.db} -k {params.kma_path} --update {params.update} 1> {log.out_file} 2> {log.err_file}
"""
#python3 ecolityping.py -i test/SRR26510933 -R1 test/SRR26510933_1.fastq.gz -R2 test/SRR26510933_2.fastq.gz -db db -k /home/rahenriksen443/miniconda3/envs/ecoli_pipeline/bin -u yes -o results/

rule_name = "run_postecolityping"
rule run_postecolityping:
Expand Down

0 comments on commit d42e410

Please sign in to comment.