<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://amos.sourceforge.net/wiki/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://amos.sourceforge.net/wiki/index.php?action=history&amp;feed=atom&amp;title=Figaro_User_Manual</id>
		<title>Figaro User Manual - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://amos.sourceforge.net/wiki/index.php?action=history&amp;feed=atom&amp;title=Figaro_User_Manual"/>
		<link rel="alternate" type="text/html" href="http://amos.sourceforge.net/wiki/index.php?title=Figaro_User_Manual&amp;action=history"/>
		<updated>2026-04-28T21:42:15Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.5</generator>

	<entry>
		<id>http://amos.sourceforge.net/wiki/index.php?title=Figaro_User_Manual&amp;diff=150&amp;oldid=prev</id>
		<title>Mcschatz at 20:51, 12 July 2009</title>
		<link rel="alternate" type="text/html" href="http://amos.sourceforge.net/wiki/index.php?title=Figaro_User_Manual&amp;diff=150&amp;oldid=prev"/>
				<updated>2009-07-12T20:51:07Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&#039;diff diff-contentalign-left&#039;&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;tr style=&#039;vertical-align: top;&#039;&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 20:51, 12 July 2009&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 34:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 34:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*-V – verbose output, t or f (default f) Will provide a number of additional output files for testing purposes.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*-V – verbose output, t or f (default f) Will provide a number of additional output files for testing purposes.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[[Image:FigaroClearRange.png]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Mcschatz</name></author>	</entry>

	<entry>
		<id>http://amos.sourceforge.net/wiki/index.php?title=Figaro_User_Manual&amp;diff=147&amp;oldid=prev</id>
		<title>Mcschatz: New page: The following is a quick how-to for using Figaro.  If you have any questions/comments/ suggestions, please email: amos-help [at] lists.sourceforge.net.      == Installation ==   1.  Untar/...</title>
		<link rel="alternate" type="text/html" href="http://amos.sourceforge.net/wiki/index.php?title=Figaro_User_Manual&amp;diff=147&amp;oldid=prev"/>
				<updated>2009-07-12T20:45:08Z</updated>
		
		<summary type="html">&lt;p&gt;New page: The following is a quick how-to for using Figaro.  If you have any questions/comments/ suggestions, please email: amos-help [at] lists.sourceforge.net.      == Installation ==   1.  Untar/...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The following is a quick how-to for using Figaro.  If you have any questions/comments/ suggestions, please email: amos-help [at] lists.sourceforge.net.  &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
 &lt;br /&gt;
1.  Untar/unzip the Figaro-X.X.tar.gz file using:&lt;br /&gt;
    tar -xvzf Figaro-X.X.tar.gz&lt;br /&gt;
 &lt;br /&gt;
2.  cd into Figaro-X.X/&lt;br /&gt;
 &lt;br /&gt;
3.  If you plan to use Lucy with Figaro, edit the Makefile to include the correct path to Lucy, e.g LUCY = /fs/sz-user-supported/bin/lucy&lt;br /&gt;
 &lt;br /&gt;
4.  Install by executing:&lt;br /&gt;
    make install&lt;br /&gt;
 &lt;br /&gt;
5.  Now you may run figaro.&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
== Usage ==&lt;br /&gt;
 &lt;br /&gt;
 figaro -F &amp;lt;fasta file of reads&amp;gt; -P &amp;lt;prefix for output&amp;gt; [options]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Basic parameters:&lt;br /&gt;
*-F – fasta file of reads (required). Do not quality-trim the fasta file of reads beforehand.&lt;br /&gt;
&lt;br /&gt;
*-P – prefix for output files (required) All output files will contain this prefix and will be created in the current directory.&lt;br /&gt;
&lt;br /&gt;
*-T – threshold value (optional) This value is used to limit the number of kmers associated with putative vector sequence.  Whatever T is set to, the program will allow up to (Tx100) kmers to be considered as putative vector sequence.  If T is not provided, then Figaro will use a predetermined threshold depending on the size of the read set.  The recommended range of T is [1 - 60].&lt;br /&gt;
&lt;br /&gt;
*-M – maximum cut length (default 100) This is the maximum vector clip length allowed for a read.   A safe bet is to set M = 100 or 200.&lt;br /&gt;
&lt;br /&gt;
*-E – end of safe zone (default 500) This represents the end of the considered read sequence.  Try to make E as large as possible without going into too much poor quality sequence on the 3’ ends of reads.  The safe zone is E-M bases long.&lt;br /&gt;
&lt;br /&gt;
*-V – verbose output, t or f (default f) Will provide a number of additional output files for testing purposes.&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
== Output files ==&lt;br /&gt;
 &lt;br /&gt;
You only really care about two: the .vectorcuts file, and the .summary file.  The .vectorcuts file are the final 5’ vector trimpoints.  The .summary is self-explanatory.  &lt;br /&gt;
 &lt;br /&gt;
If you’re interested in trying to improve the vector trimpoints, use verbose output and observe the .vectorclrs file which is a kmer frequency chart of each read up until the safe zone.  One can get an idea if they’re overtrimming or undertrimming the reads by viewing the frequency counts and the final cut point chosen for each read.&lt;br /&gt;
 &lt;br /&gt;
If the frequency tables contain many non-zero low frequency numbers, it’s likely that many reads are being overtrimmed.  A “-1” value indicates an endmer.  The algorithm is searching for a high level of frequency followed directly by an endmer.  This is usually visible by eye, but difficult for the algorithm when too many vectormers are declared.  If it looks like you’re overtrimming a significant number of reads, then decrease the T parameter, and try again.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Usage with Lucy ==&lt;br /&gt;
 &lt;br /&gt;
Users are encouraged to use Figaro with a quality-trimming program such as Lucy.  The following scripts are helpful.  Note that the Makefile must include the correct path to Lucy prior to step 3 of installation.  &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
=== figaro_lucy ===&lt;br /&gt;
&lt;br /&gt;
 figaro_lucy -o &amp;lt;prefix&amp;gt; fasta1 ... fastan&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
==== DESCRIPTION ====&lt;br /&gt;
This script runs Lucy and Figaro on a set of reads and quality values and&lt;br /&gt;
outputs a set of clear ranges for the reads which includes vector trimming and&lt;br /&gt;
quality trimming.&lt;br /&gt;
 &lt;br /&gt;
The program assumes that for each file called &amp;lt;file&amp;gt;.seq there is a &amp;lt;file&amp;gt;.qual&lt;br /&gt;
and a &amp;lt;file&amp;gt;.xml. (alternatively the files may be called fasta.&amp;lt;file&amp;gt;, qual.&amp;lt;file&amp;gt;&lt;br /&gt;
and xml.&amp;lt;file&amp;gt;).  The xml file is not required, but is helpful.  The output is&lt;br /&gt;
a clear range file. &amp;lt;prefix&amp;gt;.clr&lt;br /&gt;
 &lt;br /&gt;
Be sure Lucy is installed.&lt;br /&gt;
 &lt;br /&gt;
==== OPTIONS ====&lt;br /&gt;
   &amp;lt;prefix&amp;gt; - prefix for the output files&lt;br /&gt;
   fasta1 ... fastan - list of files to be converted.&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
=== figaro_trim_seqs ===&lt;br /&gt;
&lt;br /&gt;
  figaro_trim_seqs -o &amp;lt;prefix&amp;gt; -c &amp;lt;trim pts&amp;gt; -f &amp;lt;read sequences&amp;gt; -q &amp;lt;quality values&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
==== DESCRIPTION ====&lt;br /&gt;
This script physically trims a set of reads and quality values, outputting a&lt;br /&gt;
set of clean reads and quality values.  Trim points are provided as input in&lt;br /&gt;
the following format:&lt;br /&gt;
 &amp;lt;readname&amp;gt;  &amp;lt;5&amp;#039; trim pt&amp;gt;  &amp;lt;3&amp;#039; trim pt&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
Trim points begin at 1, not 0, (i.e. 2 means the first good base is the 2nd bp.)&lt;br /&gt;
 &lt;br /&gt;
3&amp;#039; trim points are not required, but if used, must be present for all reads.  &lt;br /&gt;
Quality values are not required, but if used, must be present for all reads.&lt;br /&gt;
Reads without trim points are ignored.&lt;br /&gt;
 &lt;br /&gt;
==== OPTIONS ====&lt;br /&gt;
* -o  &amp;lt;output prefix&amp;gt;&lt;br /&gt;
* -c  &amp;lt;trim pts&amp;gt;&lt;br /&gt;
* -f  &amp;lt;fasta sequences&amp;gt;&lt;br /&gt;
* -q  &amp;lt;quality values in fasta format&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
=== tarchive2_figaro_lucy_2amos ===&lt;br /&gt;
 &lt;br /&gt;
 tarchive2_figaro_lucy_2amos -o &amp;lt;prefix&amp;gt; fasta1 ... fastan&lt;br /&gt;
 &lt;br /&gt;
==== DESCRIPTION ====&lt;br /&gt;
This program takes sequence data from the NCBI Trace Archive, and produces a set&lt;br /&gt;
of clear ranges for reads which includes quality and vector trims with Lucy and&lt;br /&gt;
Figaro, respectively.  An afg file is output as well which includes the new clear&lt;br /&gt;
ranges.&lt;br /&gt;
 &lt;br /&gt;
==== OPTIONS ====&lt;br /&gt;
   &amp;lt;prefix&amp;gt; - prefix for the output files&lt;br /&gt;
   fasta1 ... fastan - list of files to be converted.&lt;br /&gt;
           The program assumes that for each file called &amp;lt;file&amp;gt;.seq there&lt;br /&gt;
           is a &amp;lt;file&amp;gt;.qual and a &amp;lt;file&amp;gt;.xml. (alternatively the files may&lt;br /&gt;
           be called fasta.&amp;lt;file&amp;gt;, qual.&amp;lt;file&amp;gt; and xml.&amp;lt;file&amp;gt;).  The output&lt;br /&gt;
           includes a clear range file, and an afg file with the new clear&lt;br /&gt;
           ranges. This script will die without the xml file.&lt;/div&gt;</summary>
		<author><name>Mcschatz</name></author>	</entry>

	</feed>