Menu

Tree [9cc6cc] main v2.6.1 /
 History

HTTPS access


File Date Author Commit
 .gitignore 2017-10-30 bioinfo-ut bioinfo-ut [638d21] added .DS_Store to .gitignore
 LICENSE 2017-10-27 Andreas Untergasser Andreas Untergasser [b53914] Some Updates
 README.md 2017-11-03 Andreas Untergasser Andreas Untergasser [279912] Deleted the old docs
 check_tags_and_doc.pl 2017-10-27 Andreas Untergasser Andreas Untergasser [bdb004] Uppercase Primer3, Primer3Web reorder
 create_tag_files_and_docs.pl 2022-01-26 Andreas Untergasser Andreas Untergasser [9cc6cc] Updated tags for release v2.6.1
 primer3_command_line.xml 2018-10-05 Andreas Untergasser Andreas Untergasser [510b52] Upgraded Help for Primer3Plus and some Bugfixes
 primer3_doc_schema.png 2008-10-10 Andreas Untergasser Andreas Untergasser [4187c3] Some work on the schema
 primer3_doc_schema.xsd 2017-10-27 Andreas Untergasser Andreas Untergasser [bdb004] Uppercase Primer3, Primer3Web reorder
 primer3_input_tags.xml 2021-12-27 Andreas Untergasser Andreas Untergasser [e47bfe] Renamed PRIMER_INTERNAL_MIN_THREE_PRIME_DISTANCE
 primer3_output_tags.xml 2021-12-27 Andreas Untergasser Andreas Untergasser [a0ed35] New settings file
 primer3_textblocks.xml 2022-01-08 Andreas Untergasser Andreas Untergasser [2c7360] Updated tags for release v2.6.0
 primer3plus_tags.xml 2022-01-19 Andreas Untergasser Andreas Untergasser [bd953f] Update for UCSC Genome Browser

Read Me

How to install and run the script

Update your environment on Linux:

sudo apt-get install libxml2-dev git-all

sudo perl -MCPAN -e shell

install XML::LibXML

exit

Update your environment on Windows:

Install: Perl from ActiveState

Run: Perl Package Manager
Search and install: XML-LibXML

Get Primer3Docs:

git clone https://github.com/primer3-org/primer3docs.git primer3docs

cd primer3docs

Run the script:

./create_tag_files_and_docs.pl

Guide to use Primer3 docs

The motivation to start this documentation script originated from the
need to keep the readme files in Primer3 and the helpfiles in
Primer3Web and Primer3Plus in sync. With Primer3 getting more input
tags this also helps to keep the overview.

It works rather simple. All information is stored in XML files. Then
a script is run which generates the html and txt files from it. This
end up in the folder script_output. Old and tested documents are in
reference_docs. Compare your new output to them to avoid loosing
information or other unwanted effects.

Of course there would be better ways, but I (A. Untergasser) know perl
and wanted fast results. That does of course not mean we should keep
it like that for ever.

There are three xml files:

primer3_command_line.xml
A list of all possible command line flags. New flags are automatically
added to all generated files.

primer3_tag_definitions.xml
A list of all possible input tags. New tags are automatically added
to all generated files.

primer3_output_tags.xml
A list of all possible output tags. New tags are automatically added
to all generated files.

primer3_textblocks.xml
A alphabetical list of textblocks. The script reads them in and puts
them into order. New textblocks needed to be added to the
@textblocksOrder array to be addet to the generated files.

In the <description> field of the tags and the <text> field of the
textblocks the following html-like elements are allowed. The script
will remove them for the txt files and modify them for html files:</text></description>

<p3_version>
will be replaced by the version, for example 1.1.4
<p3_year>
will be replaced by the years,
for example: 1996,1997,1998,1999,2000,2001,2004,2006,2007,2008


a html newline, it will be removed in txt files (not replaced
by a \n)
<p3t>.....</p3t>
Will be turned into a link to the anchor. All tag descriptions
Are automatically anchors. Like that it will link to its
description (or be removed in txt files).
<link>webpage.htm
Will be turned into a www-link to webpage.htm (or be plain text
in txt files).</p3_year></p3_version>

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.