Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to generate CARD db #16

Open
tianxiahuihui opened this issue Mar 17, 2018 · 2 comments
Open

How to generate CARD db #16

tianxiahuihui opened this issue Mar 17, 2018 · 2 comments

Comments

@tianxiahuihui
Copy link

In the main.sh, the command "magicblast13 -num_threads $cores -infmt fasta -query $tmp_read_one_trimmed -query_mate $tmp_read_two_trimmed -score 50 -penalty -3 -out $OUT_DIR/$sra.CARD_gene.sam -db $card", but when I download CARD data in https://card.mcmaster.ca/download, I do not know how to generate CARD db by using makeblastdb because
I donot seen a resistance genes fasta file. Coula you tell me how to generate CARD db?

@stevetsa
Copy link
Contributor

Please refer to the updated version of documentation -

wget https://card.mcmaster.ca/download/0/broadstreet-v2.0.0.tar.gz
tar xvf broadstreet-v2.0.0.tar.gz
makeblastdb -in nucleotide_fasta_protein_homolog_model.fasta -dbtype nucl -out cardgenedb
makeblastdb -in nucleotide_fasta_protein_variant_model.fasta -dbtype nucl -out cardsnpdb

https://github.com/stevetsa/MetagenomicAntibioticResistance

@tianxiahuihui
Copy link
Author

Thank you for your kidness.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants