This repository has been archived by the owner on Aug 10, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Get a fasta
nyoungb2 edited this page Sep 24, 2013
·
8 revisions
Get a fasta of all/certain CRISPR loci elements (eg. spacers or direct-repeats).
For most scripts, queries can be refined to specific taxa and/or subtypes. Just use '-subtype', '-taxon_name', or '-taxon_id' to refine the query (see examples below).
$ CLdb_array2fasta.pl -d CLdb.sqlite > spacers.fna
$ CLdb_array2fasta.pl -d CLdb.sqlite -sub "I-B" > spacers_IB.fna
$ CLdb_array2fasta.pl -d CLdb.sqlite -sub "I-B" "I-C" > spacers_IB_IC.fna
$ CLdb_array2fasta.pl -d CLdb.sqlite -g > spacer_groups.fna
Important for spacer blasting
$ CLdb_array2fasta.pl -d CLdb.sqlite -g -l > spacer_groups.fna
$ CLdb_array2fasta.pl -d CLdb.sqlite -r > DR.fna
$ CLdb_DRconsensus2fasta.pl -d CLdb.sqlite > DR_consensus.fna
$ CLdb_getRegionSequence.pl -d CLdb.sqlite
$ CLdb_proto2fasta.pl -d CLdb.sqlite > protos.fna