This Page is under construction and not up to date
nf-amrseq is a nextflow pipeline to process sequencing data of Antimicrobial Multi-Resistance bacteria.
The pipeline:
-
Detect the organism by comparing the assembly to a reference species database with
orgfinder. -
Run
ResFinder,amrfinder+,mobtyper,PlasmidFinder. -
Run
MLSTwith the schema automatically selected from detected species. -
Generate HTML reports.
Running the pipeline on a local computer requires docker
(to run containerized software) and nextflow.
nextflow is however optional as containerized version exists (see section Nextflow container below).
Note: The pipeline cannot be run directly on a NAS but only on a local folder of your hard-drive.
If the FASTA files to process are in subfolder 'data/' of your working directory
nextflow run BioinfoSupport/nf-amr -resume --input_assembly=data/*.fastaNextflow installation is optional as containerized versions of nextflow exists. For example, on MacOS, to run a nextflow container with access to docker daemon of the host, we use:
docker run --rm -it \
-v /var/run/docker.sock:/var/run/docker.sock \
-v $(pwd):$(pwd) \
--platform linux/amd64 \
--workdir $(pwd) \
--env NXF_HOME=$(pwd)/.nextflow_home \
nextflow/nextflow:25.04.2 bashTo run the pipeline on a HPC cluster with slurm and singularity use -profile=hpc:
nextflow run BioinfoSupport/nf-amr -profile hpc -bg -resume --input_assembly=data/*.fastaIf nextflow is not installed on your HPC, it can be installed with:
curl -s https://get.nextflow.io | bash && chmod +x nextflowAnd if you need to update the pipeline latest version, use:
nextflow pull BioinfoSupport/nf-amrOr run a specific version:
nextflow run BioinfoSupport/nf-amr -r v0.4.12 -profile hpc -bg -resume --input_assembly=data/*.fasta--input_assembly: FASTA files with assembled genomes to annotated
By default, pipeline outputs are stored in results/ but it can controlled with
option -output-dir