<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to patches</title><link href="https://sourceforge.net/p/bowtie-bio/patches/" rel="alternate"/><link href="https://sourceforge.net/p/bowtie-bio/patches/feed.atom" rel="self"/><id>https://sourceforge.net/p/bowtie-bio/patches/</id><updated>2011-07-05T13:42:41Z</updated><subtitle>Recent changes to patches</subtitle><entry><title>Crossbow: SOAPsnp parse error for parameter "-L"</title><link href="https://sourceforge.net/p/bowtie-bio/patches/2/" rel="alternate"/><published>2011-07-05T13:42:41Z</published><updated>2011-07-05T13:42:41Z</updated><author><name>Tully Ernst</name><uri>https://sourceforge.net/u/userid-1616560/</uri></author><id>https://sourceforge.netb13e2bd2b528ec83c7845eae505ae4ecf30d8516</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The SOAPsnp contained within the crossbow release as an integer overflow due to the use of #atoi.&lt;br /&gt;
This results in an inconsistent parameter -L (max read length) for values of 256 or greater (depends on compiler???)&lt;br /&gt;
The uploaded files use long int and #atol to circumvent this problem. &lt;br /&gt;
&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Add RG:Z fields to alignment records with --sam-RG</title><link href="https://sourceforge.net/p/bowtie-bio/patches/1/" rel="alternate"/><published>2011-03-08T14:40:29Z</published><updated>2011-03-08T14:40:29Z</updated><author><name>John Marshall</name><uri>https://sourceforge.net/u/jmarshall/</uri></author><id>https://sourceforge.net899bcc0ed65ef2ab3414235cdce0d85f01710a2d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The main reason for having an @RG header in a SAM file is so that (a subset of) the alignment records can be associated with it via their RG:Z: tagged fields.  When --sam-RG options are used, bowtie should also add an RG: field to all alignment records printed, associating them with the specified @RG header.  Thus the right thing happens when several bowtie output SAM files are merged, for example.&lt;/p&gt;
&lt;p&gt;This BTW is what bwa samse/sampe -r does: it adds both an @RG header and RG:Z: fields to all output records.  (But thanks for using a more convenient command line syntax that doesn't need large amounts of quoting!)&lt;/p&gt;
&lt;p&gt;At first glance, it appears that it suffices to print out the extra field in sam.cpp's appendAligned() and reportUnOrMax().  If it is of use, I have attached a suggested patch for your consideration.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;John Marshall&lt;br /&gt;
&amp;lt;jm18@sanger.ac.uk&amp;gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>