Skip to content
/ argo Public

Argo: species-resolved profiling of antibiotic resistant genes in complex metagenomes through long-read overlapping

License

Notifications You must be signed in to change notification settings

xinehc/argo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Argo

Argo: species-resolved profiling of antibiotic resistant genes in complex metagenomes through long-read overlapping

Quick Start

Installation

conda crate -n argo -c bioconda -c conda-forge argo
conda activate argo

Database setup

Download:

wget -qN --show-progress https://zenodo.org/records/12576528/files/database.tar.gz
tar -xvf database.tar.gz

Index:

## If you encounter memory issue please consider manually lowering cpu_count or simply set cpu_count=1
cpu_count=$(python -c 'import os; print(os.cpu_count())')

diamond makedb --in database/prot.fa --db database/prot --quiet
diamond makedb --in database/sarg.fa --db database/sarg --quiet
ls database/*.*.fa | sort | xargs -P $cpu_count -I {} bash -c '
    filename=${1%.fa*};
    filename=${filename##*/};
    minimap2 -x map-ont -d database/$filename.mmi ${1} 2> /dev/null;
    echo "Indexed <database/$filename.fa>.";' - {}

## remove temporary files to save space
rm -rf database/*.fa

Run Argo

We provide an example file comprising 10,000 quality-controlled (processed with Porechop and nanoq) prokaryotic reads (fungal and other reads removed with minimap2), randomly selected from the R10.3 mock sample of Loman Lab Mock Community Experiments.

wget -qN --show-progress https://zenodo.org/records/12571849/files/example.fa.gz
argo example.fa.gz -d database -o .

About

Argo: species-resolved profiling of antibiotic resistant genes in complex metagenomes through long-read overlapping

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages