4 use File
::Basename
qw(basename dirname);
6 ($file = basename
($0)) =~ s/\.PL$/\.pod/;
7 open OUT
,">$file" or die "Can't create $file: $!";
12 Bioscripts v$Local{VERSION} - Bioperl scripts
16 A list of the scripts in the Bioperl package
20 These scripts have been contributed by the developers and users of
21 Bioperl. They are organized into directories roughly mirroring those
22 in the Bioperl Bio/ directory. There are 2 directories for these
23 scripts, scripts/ and examples/. The scripts in scripts/ are
24 production quality scripts that have POD documentation and accept
25 command-line arguments, the scripts in examples/ are useful
26 examples of Bioperl code.
28 Please contact bioperl-l at bioperl.org if you are interested in
29 contributing your own script.
31 =head1 PRODUCTION SCRIPTS
33 =head2 scripts/Bio-DB-GFF/generate_histogram.PLS
35 Create a GFF-formatted histogram of the density of the indicated set
38 =head2 scripts/Bio-DB-GFF/process_gadfly.PLS
40 Transforms Gadfly GFF files into correct format.
42 =head2 scripts/Bio-DB-GFF/process_ncbi_human.PLS
44 Trnasforms NCBI's chromosome annotations into correct format.
46 =head2 scripts/Bio-DB-GFF/process_sgd.PLS
48 Transform SGD format annotations into GFF format.
50 =head2 scripts/Bio-DB-GFF/process_wormbase.PLS
52 Transforms Wormbase's GFF files into correct format. Requires Ace.pm.
54 =head2 scripts/DB/flanks.PLS
56 Fetch a sequence, find the sequences flanking a variant or SNP in the
57 sequence given its position.
59 =head2 scripts/DB/biofetch_genbank_proxy.PLS
61 A CGI scripts that queries NCBI's eutils to provide database access
62 according to the BioFetch protocol. Requires Cache::FileCache.
64 =head2 scripts/DB/biogetseq.PLS
66 Sequence retrieval the OBDA registry.
68 =head2 scripts/graphics/feature_draw.PLS
70 Script that accepts files in GFF or tab-delimited format and creates
71 corresponding PNG image files. See L<Bio::Graphics> and
72 L<Bio::Graphics::FeatureFile> for more information.
74 =head2 scripts/index/bpfetch.PLS
76 Fetch sequences from local indexed database or over the network and
77 reformat using Bio::Index* and Bio::DB*.
79 =head2 scripts/index/bpindex.PLS
81 Indexes local databases, partners with bpfetch.pl.
83 =head2 scripts/seq/extract_feature_seq.PLS
85 Extract the sequence for a specified feature type.
87 =head2 scripts/seqstats/chaos_plot.pl
89 Produce a PNG or JPEG chaos plot given a DNA sequence using GD.pm.
91 =head2 scripts/taxa/taxid4species.PLS
93 Retrieve the NCBI Tada ID for a given species.
95 =head2 scripts/tree/blast2tree.PLS
97 Builds a phylogenetic tree based on a sequence search (Fasta,
100 =head2 scripts/utilities/remote_blast.PLS
102 This script executes a remote Blast search using RemoteBlast. See
103 L<Bio::Tools::Run::RemoteBlast> for more information.
105 =head2 scripts/utilities/bp_mrtrans.PLS
107 Perl implementation of Bill Pearson's mrtrans to project protein
108 alignment back into cDNA coordinates.
110 =head2 scripts/utilities/bp_nrdb.PLS
112 Make a non-redundant database based on sequence, not id.
113 Requires Digest::MD5.
115 =head2 scripts/utilities/bp_sreformat.PLS
117 Perl implementation of Sean Eddy's sreformat, a sequence and
120 =head2 scripts/utilities/pairwise_kaks.PLS
122 Takes cDNA sequences as input, aligns them as proteins,
123 projects the alignment back into cDNA and estimates
124 the Ka (non-synonymous) and Ks (synonymous) substitutions.
126 =head2 scripts/utilities/seq_length.PLS
128 Reports the total number of residues and total number of individual
129 sequences in a specified sequence database file.
131 =head1 EXAMPLE SCRIPTS
133 =head2 examples/align/align_on_codons.pl
135 Aligns nucleotide sequences based on codons in a specified reading frame.
137 =head2 examples/align/aligntutorial.pl
139 Examples using EMBOSS, pSW, Clustalw, TCoffee, and Blast to align sequences.
141 =head2 examples/align/clustalw.pl
143 A demonstration of the various uses of Alignment::Clustalw. See
144 L<Bio::Tools::Run::Alignment::Clustalw> for more.
146 =head2 examples/align/simplealign.pl
148 A script that demonstrates some uses of AlignIO. Please see
149 L<Bio::AlignIO> for more information.
151 =head2 examples/biblio/biblio.pl
153 A script that shows how to query bibliographic databases, such as
154 Medline, using ids, keywords, and other fields. See L<Bio::Biblio> for
157 =head2 examples/biblio/biblio_soap.pl
159 Connect to and test a SOAP server using a Bio::Biblio object.
161 =head2 examples/bioperl.pl
165 =head2 examples/cluster/dbsnp.pl
167 How to parse a dbsnp XML file. See L<Bio::ClusterIO> for details.
169 =head2 examples/contributed/nmrpdb_parse.pl
171 Extracts individual conformers from an NMR-derived PDB file.
173 =head2 examples/contributed/prosite2perl.pl
175 Convert Prosite motifs to Perl regular expressions.
177 =head2 examples/contributed/rebase2list.pl
179 Script to convert rebase file to format compatible with
180 Bio::Tools::RestrictionEnzyme.
182 =head2 examples/das/das_server.pl
184 Sets up a minimal DAS annotation server, requires Apache::DBI and
185 Bio::DB::GFF. See L<Bio::DB::GFF> for details.
187 =head2 examples/db/dbfetch
189 Creates a Web page to query a local SRS server and fetch sequences.
191 =head2 examples/db/est_tissue_query.pl
193 Fetch EST sequences from local files or Genbank filtered by tissue
194 using Bio::DB* or Bio::Index*.
196 =head2 examples/db/gb2features.pl
198 Shows how to extract all the features from a Genbank file. See
199 L<Bio::Seq> for more information on features.
201 =head2 examples/db/getGenBank.pl
203 Retrieving Genbank entries over the Web using DB::GenBank. See
204 L<Bio::DB::GenBank> for more information.
206 =head2 examples/db/get_seqs.pl
208 Fetches and formats sequences from GenBank, EMBL, or SwissProt over
209 the network using Bio::DB*.
211 =head2 examples/db/gff/*
213 Scripts that reformat sequence to GFF and load GFF format files into
214 an indexed database - see L<Bio::DB::GFF> for more information.
216 =head2 examples/db/rfetch.pl
218 A script that uses Bio::DB::Registry to retrieve sequences from EMBL,
219 reformat them, and print them. See L<Bio::DB::Registry>.
221 =head2 examples/db/use_registry.pl
223 Script that shows how to use Bio::DB::Registry, part of Bioperl's
224 integration with OBDA, the Open Bio Database Access registry
225 scheme. See L<Bio::DB::Registry> for more information.
227 =head2 examples/exceptions/*
229 Scripts that demonstrate how to throw and catch Error.pm objects.
231 =head2 examples/generate_random_seq.pl
233 Writes random RNA, DNA, or protein sequence of given length.
235 =head2 examples/graphics/render_sequence.pl
237 This scripts fetchs a sequence from a remote database, extracts its
238 features (CDS, gene, tRNA), and creates a graphic representation of
239 the sequence in PNG or GIF format. See L<Bio::DB::BioFetch>
240 and L<Bio::Graphics>.
242 =head2 examples/liveseq/change_gene.pl
244 A script showing how to use LiveSeq::Mutator and
245 LiveSeq::Mutation. Please see L<Bio::LiveSeq::Mutator> and
246 L<Bio::LiveSeq::Mutation> for more information.
248 =head2 examples/longorf.pl
250 A script that finds the longest ORF in one or more nucleotide sequences.
252 =head2 examples/make_mrna_protein.pl
254 Translate a cDNA or ORF to protein using Bio::Seq's translate() method.
256 =head2 examples/make_primers.pl
258 Design PCR primers given a sequence and the positions of the start and
259 stop codons in the sequence's ORF.
261 =head2 examples/rev_and_trans.pl
263 Examples using Bio::Seq.pm for reversing and translating
264 sequences. See L<Bio::Seq> for more information.
266 =head2 examples/revcom_dir.pl
268 Eeturn reverse complement sequences of all sequences in the current
269 directory and save them in the same directory.
271 =head2 examples/root_object/*
273 Scripts that demonstrate uses of the Bio::Root modules.
275 =head2 examples/root_object/vector/vector.pl
277 Script to test Bio::Root::Vector.
279 =head2 examples/searchio/*
281 A number of scripts illustrating the use of Bio::SearchIO for parsing
282 Blast and PSI-Blast results. See L<Bio::SearchIO> for more information.
284 =head2 examples/searchio/waba2gff.pl
286 Convert raw WABA output to one type of GFF.
288 =head2 examples/seq/*
290 Example code for working with multiple sequence files, including
291 formatting, printing, and filtering based on length or description or ID.
293 =head2 examples/seqstats/aacomp.pl
295 Calculate amino acid composition of a protein using Tools::CodonTable
296 and Tools::IUPAC. See L<Bio::Tools::IUPAC> and
297 L<Bio::Tools::CodonTable> for more information.
299 =head2 examples/seqstats/gccalc.pl
301 Calculate %GC given a DNA sequence using Tools::SeqStats. See
302 L<Bio::Tools::SeqStats> for more information.
304 =head2 examples/seqstats/oligo_count.pl
306 Calculates oligomer frequencies given an oligomer length and a sequence.
308 =head2 examples/structure/struct_example*
310 Scripts that show how to examine details of the 3D structure of a
311 protein by parsing a PDB file. See L<Bio::Structure::IO> for more information.
313 =head2 examples/subsequence.cgi
315 CGI script to fetch a sequence from Genbank and extract a subsequence
316 using DB::GenBank. See L<Bio::DB::GenBank>.
318 =head2 examples/tk/gsequence
320 Create a Protein Sequence Control Panel GUI with Gtk.
322 =head2 examples/tk/hitdisplay.pl
324 Create a GUI for displaying Blast results using Tk::HitDisplay.
325 Please see L<Bio::Tk::HitDisplay> for more information.
327 =head2 examples/tools/gb_to_gff.pl
329 Extracts top-level sequence features from Genbank-formatted sequence
330 files using Tools::GFF. See L<Bio::Tools::GFF>.
332 =head2 examples/tools/gff2ps.pl
334 Takes an input file in GFF format and draws its genes and features as
335 Postscript using Tools::GFF. See L<Bio::Tools::GFF>.
337 =head2 examples/tools/parse_codeml.pl
339 Script that parses output from codeml, one of the PAML programs. See
340 L<Bio::Tools::Phylo::PAML>.
342 =head2 examples/tools/psw.pl
344 Example code for using the XS extensions for comparing proteins
345 using Smith-Waterman.
347 =head2 examples/tools/restriction.pl
349 Example code for using the RestrictionEnzyme module. See
350 L<Bio::Tools::RestrictionEnzyme> for more information.
352 =head2 examples/tools/run_genscan.pl
354 Run GENSCAN on multiple sequences and create output sequence files
355 using Tools::Genscan. Please see L<Bio::Tools::Genscan> for more information.
357 =head2 examples/tools/seq_pattern.pl
359 A script that shows how to use sequences as regular expressions using
360 Tools::SeqPattern. Please see L<Bio::Tools::SeqPattern> for more information.
362 =head2 examples/tools/state-machine.pl
364 A demonstration of how to create a state machine using
365 StateMachine::AbstractStateMachine. Please see
366 L<Bio::Tools::StateMachine::AbstractStateMachine> for more information.
368 =head2 examples/tools/test-genscan.pl
370 Script for testing and demonstrating Bio::Tools::Genscan.
372 =head2 examples/tree/paup2phylip.pl
374 Convert a PAUP tree block to Phylip format.