This repository contains a Snakemake workflow for fosmid processing from reads or pre-assembled contigs.
The workflow reads config/samples.xlsx with columns:
id: sample identifier (used in output paths).illumina1,illumina2: paired-end read files relative toraw/.nanopore: long-read file relative toraw/.pre_assembled: assembly FASTA relative topre_assembled/.prefix: required; used aslocus_tag_prefixand prepended to LOCUS in final GenBank.ref_organism: organism for PGAPsubmol.yaml(genus_species); defaults toEscherichia coliwhen empty.organism: organism string written into the final transformed.gbk.
Assembly source selection for each sample is:
illumina1/illumina2-> SPAdes- otherwise
nanopore-> Flye - otherwise
pre_assembled
Depending on available inputs, the workflow performs:
- read trimming for Illumina data
- vector filtering on reads using a middle region of the vector
- assembly (
spadesorflye) - vector trimming from assembled contigs
- PGAP annotation
- taxonomy classification with Metabuli (
metabuli classify)
Default final targets:
output/{id}/{id}.gbkoutput/{id}/report.xlsxwith sheets:Assembly,Annotation,Classification,Genes,Vector
snakedeploy deploy-workflow https://github.com/BejaLab/fosmids my_new_fosmid_project --branch mainor
snakedeploy deploy-workflow https://github.com/BejaLab/fosmids my_new_fosmid_project --tag v1.0.0 # or another one of https://github.com/BejaLab/fosmids/tags- Fill
config/samples.xlsx. - Place input files in
raw/and/orpre_assembled/according to metadata. - Run Snakemake (profile enables Conda):
snakemakesnakemake --use-conda --cores 10