Code Libraries
libGD is required to produce drawings of the genomic contexts of putative RNA structure matches. Download and install according to the directions for your system.
Perl Modules
Several additional Perl modules from are required for the riboswitch perl scripts. You can download and install them directly from CPAN. Alternately, on MacOS X, you can use the following command sequence if you have administrator privileges:
>sudo perl -MCPAN -e shell
>Password: ********
>install Storable
>install GD
>install Bio::Graphics
The GD module requires libGD to be installed beforehand and is only necessary for producing genomic context drawings. If you encounter any other messages of the form: "Can't locate module.pm in @INC", try installing module from CPAN.
Riboswitch Perl Scripts
Download the riboswitch Perl scripts.
|
version 2 |
23 June 2008 |
Usage
Each Perl script has POD documentation. To view it, either open the script in a text editor or use one of these commands:
>perldoc genome_context.pl >genome_context.pl --man
Updated Protocols
3.2 Annotating Riboswitches in a Bacterial Genome
With the new version of Infernal (v1.0), the command sequence for performing global alignment of the riboswitch model to matches in the database with the hmmfilter has changed as follows:
>cmbuild TPP.cm TPP.sto
>cmsearch -g -T 27.2 TPP.cm NC_009832.1.fna > hits.txt
>cmsearch_reformat.pl -s scores.tab hits.txt hits.fna
>cmalign -o hits.sto TPP.cm hits.fna
>stockholm_to_html.pl hits.sto hits.html
>genomic_context.pl -b scores.tab -s NC_009832.1.gbk hits.sto context
3.3 Exhaustively Identifying Riboswitches in a Sequence Database
With the new version of Infernal (v1.0), the example command sequence for performing global alignment of the riboswitch model to matches in the database has changed as follows:
>fragment_db.pl -s 40 /db/refseq24/fasta /db/refseq24/fragment
>cmbuild TPP.cm TPP.sto
>cmsearch -g TPP.cm /db/refseq24/fragment/1.fna > hits.1.txt
>cat hits.* > hits.txt
>cmsearch_reformat.pl -T 10 -b scores.tab hits.txt hits.fna
>cmalign -o hits.sto TPP.cm hits.fna
>stockholm_to_html.pl hits.sto hits.html
>index_db.pl -d refseq24_genbank /db/refseq24/genbank /db/index
>genomic_context.pl -b scores.tab -d /db/index/refseq24 hits.sto context
META FILEATTACHMENT |
attachment="riboswitch_methods_v2.tar.gz" attr="h" comment="" date="1245770036" name="riboswitch_methods_v2.tar.gz" path="riboswitch_methods_v2.tar.gz" size="2641712" stream="riboswitch_methods_v2.tar.gz" tmpFilename="/usr/tmp/CGItemp23430" user="JeffreyBarrick" version="1" |
|