pax_global_header 0000666 0000000 0000000 00000000064 13173421171 0014512 g ustar 00root root 0000000 0000000 52 comment=9f26bfcc7780753129b60717ecab0ebba6f04b7c
bwa-0.7.17/ 0000775 0000000 0000000 00000000000 13173421171 0012357 5 ustar 00root root 0000000 0000000 bwa-0.7.17/.gitignore 0000664 0000000 0000000 00000000067 13173421171 0014352 0 ustar 00root root 0000000 0000000 *.[oa]
bwa
test
test64
.*.swp
Makefile.bak
bwamem-lite
bwa-0.7.17/.travis.yml 0000664 0000000 0000000 00000000065 13173421171 0014471 0 ustar 00root root 0000000 0000000 language: c
compiler:
- gcc
- clang
script: make
bwa-0.7.17/COPYING 0000664 0000000 0000000 00000104513 13173421171 0013416 0 ustar 00root root 0000000 0000000 GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc.
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
Copyright (C)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
Copyright (C)
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
.
bwa-0.7.17/ChangeLog 0000664 0000000 0000000 00000365331 13173421171 0014144 0 ustar 00root root 0000000 0000000 ------------------------------------------------------------------------
r1605 | lh3 | 2010-12-29 20:20:20 -0500 (Wed, 29 Dec 2010) | 3 lines
Changed paths:
M /branches/prog/bwa/bwtsw2_aux.c
M /branches/prog/bwa/main.c
* bwa-0.5.9rc1-2 (r1605)
* fixed a typo/bug in bwasw
------------------------------------------------------------------------
r1587 | lh3 | 2010-12-21 18:48:30 -0500 (Tue, 21 Dec 2010) | 2 lines
Changed paths:
M /branches/prog/bwa/bwa.1
a typo in the manual
------------------------------------------------------------------------
r1586 | lh3 | 2010-12-21 18:47:48 -0500 (Tue, 21 Dec 2010) | 3 lines
Changed paths:
M /branches/prog/bwa/bwape.c
M /branches/prog/bwa/bwase.c
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/bwtsw2_main.c
M /branches/prog/bwa/main.c
M /branches/prog/bwa/utils.c
M /branches/prog/bwa/utils.h
* bwa-0.5.9rc1-1 (r1586)
* a few patches by John
------------------------------------------------------------------------
r1562 | lh3 | 2010-12-10 01:02:06 -0500 (Fri, 10 Dec 2010) | 2 lines
Changed paths:
M /branches/prog/bwa/bwa.1
M /branches/prog/bwa/bwape.c
M /branches/prog/bwa/bwase.c
documentation on specifying @RG
------------------------------------------------------------------------
r1561 | lh3 | 2010-12-10 00:45:40 -0500 (Fri, 10 Dec 2010) | 2 lines
Changed paths:
M /branches/prog/bwa/ChangeLog
M /branches/prog/bwa/NEWS
M /branches/prog/bwa/bwa.1
M /branches/prog/bwa/main.c
Release bwa-0.5.9rc1 (r1561)
------------------------------------------------------------------------
r1560 | lh3 | 2010-12-10 00:29:08 -0500 (Fri, 10 Dec 2010) | 3 lines
Changed paths:
M /branches/prog/bwa/bwaseqio.c
M /branches/prog/bwa/main.c
* fixed a small memory leak caused by the BAM reader
* fixed a memory violation, also in the BAM reader
------------------------------------------------------------------------
r1559 | lh3 | 2010-12-10 00:10:48 -0500 (Fri, 10 Dec 2010) | 2 lines
Changed paths:
M /branches/prog/bwa/ChangeLog
M /branches/prog/bwa/Makefile
change Makefile gcc options
------------------------------------------------------------------------
r1558 | lh3 | 2010-12-10 00:09:22 -0500 (Fri, 10 Dec 2010) | 4 lines
Changed paths:
M /branches/prog/bwa/bwtsw2_aux.c
M /branches/prog/bwa/bwtsw2_core.c
M /branches/prog/bwa/main.c
* bwa-0.5.8-6 (r1557)
* added a little more comments to BWA-SW
* randomly choosing a mapping if there are more than one
------------------------------------------------------------------------
r1557 | lh3 | 2010-12-09 21:58:00 -0500 (Thu, 09 Dec 2010) | 2 lines
Changed paths:
M /branches/prog/bwa/Makefile
M /branches/prog/bwa/bwtsw2_aux.c
sometimes unmapped reads may not be printed...
------------------------------------------------------------------------
r1556 | lh3 | 2010-12-09 21:50:26 -0500 (Thu, 09 Dec 2010) | 2 lines
Changed paths:
M /branches/prog/bwa/Makefile
M /branches/prog/bwa/bwtsw2_aux.c
print unmapped reads
------------------------------------------------------------------------
r1555 | lh3 | 2010-12-09 21:17:20 -0500 (Thu, 09 Dec 2010) | 3 lines
Changed paths:
M /branches/prog/bwa/ChangeLog
M /branches/prog/bwa/bwa.1
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/main.c
* bwa-0.5.8-5 (r1555)
* BAM input documentation
------------------------------------------------------------------------
r1544 | lh3 | 2010-11-23 11:01:41 -0500 (Tue, 23 Nov 2010) | 3 lines
Changed paths:
M /branches/prog/bwa/bwape.c
M /branches/prog/bwa/bwase.c
M /branches/prog/bwa/main.c
* bwa-0.5.8-4 (r1544)
* supporting adding RG tags and RG lines
------------------------------------------------------------------------
r1543 | lh3 | 2010-11-23 00:16:40 -0500 (Tue, 23 Nov 2010) | 3 lines
Changed paths:
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/main.c
* bwa-0.5.8-3 (r1543)
* fixed a memory leak
------------------------------------------------------------------------
r1542 | lh3 | 2010-11-22 23:50:56 -0500 (Mon, 22 Nov 2010) | 3 lines
Changed paths:
M /branches/prog/bwa/bwase.c
M /branches/prog/bwa/main.c
* bwa-0.5.8-2 (r1542)
* fixed a long existing bug in random placement of reads
------------------------------------------------------------------------
r1541 | lh3 | 2010-11-22 23:27:29 -0500 (Mon, 22 Nov 2010) | 2 lines
Changed paths:
M /branches/prog/bwa/Makefile
A /branches/prog/bwa/bamlite.c
A /branches/prog/bwa/bamlite.h
M /branches/prog/bwa/bwape.c
M /branches/prog/bwa/bwase.c
M /branches/prog/bwa/bwaseqio.c
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/bwtaln.h
M /branches/prog/bwa/main.c
preliminary BAM input support
------------------------------------------------------------------------
r1537 | lh3 | 2010-10-16 23:46:20 -0400 (Sat, 16 Oct 2010) | 2 lines
Changed paths:
M /branches/prog/bwa/ChangeLog
M /branches/prog/bwa/bwa.1
change version number and ChangeLog
------------------------------------------------------------------------
r1536 | lh3 | 2010-10-16 23:35:10 -0400 (Sat, 16 Oct 2010) | 3 lines
Changed paths:
M /branches/prog/bwa/bwape.c
M /branches/prog/bwa/main.c
M /branches/prog/bwa/stdaln.c
* fixed a bug in the scoring matrix
* release bwa-0.5.8c (r1536)
------------------------------------------------------------------------
r1451 | lh3 | 2010-06-15 09:43:52 -0400 (Tue, 15 Jun 2010) | 2 lines
Changed paths:
M /branches/prog/bwa/bwa.1
version change
------------------------------------------------------------------------
r1450 | lh3 | 2010-06-15 09:42:21 -0400 (Tue, 15 Jun 2010) | 3 lines
Changed paths:
M /branches/prog/bwa/main.c
M /branches/prog/bwa/stdaln.c
* bwa-0.5.8b (r1450)
* fixed a bug in scoring matrix
------------------------------------------------------------------------
r1445 | lh3 | 2010-06-11 08:58:33 -0400 (Fri, 11 Jun 2010) | 2 lines
Changed paths:
M /branches/prog/bwa/bwa.1
M /branches/prog/bwa/bwape.c
fixed a serious bug
------------------------------------------------------------------------
r1442 | lh3 | 2010-06-08 10:22:14 -0400 (Tue, 08 Jun 2010) | 2 lines
Changed paths:
M /branches/prog/bwa/ChangeLog
M /branches/prog/bwa/NEWS
M /branches/prog/bwa/main.c
Release bwa-0.5.8 (r1442)
------------------------------------------------------------------------
r1440 | lh3 | 2010-05-19 13:43:50 -0400 (Wed, 19 May 2010) | 3 lines
Changed paths:
M /branches/prog/bwa/bwtsw2_core.c
M /branches/prog/bwa/main.c
* bwa-r1440
* sorry, forget to remove a debugging line
------------------------------------------------------------------------
r1439 | lh3 | 2010-05-19 13:43:08 -0400 (Wed, 19 May 2010) | 4 lines
Changed paths:
M /branches/prog/bwa/bwape.c
M /branches/prog/bwa/bwtsw2_core.c
M /branches/prog/bwa/main.c
* bwa-r1439
* fixed a bug in bwasw caused by a recent modification
* throwing insane insert size when estimating isize
------------------------------------------------------------------------
r1425 | lh3 | 2010-04-29 15:15:23 -0400 (Thu, 29 Apr 2010) | 10 lines
Changed paths:
M /branches/prog/bwa/bwtsw2_core.c
M /branches/prog/bwa/bwtsw2_main.c
M /branches/prog/bwa/main.c
* bwa-0.5.7-7 (r1425)
* fixed a minor bug in bwasw command-line parsing
* When band-width is not large enough, bwasw may find two highly
overlapping but not completely overlapping alignments. The old
version will filter out one of them, which leads to false
negatives. The current outputs both. This solution is obviously not
ideal. The ideal one would be to increase the band-width and redo the
alignment.
------------------------------------------------------------------------
r1399 | lh3 | 2010-04-16 09:20:49 -0400 (Fri, 16 Apr 2010) | 3 lines
Changed paths:
M /branches/prog/bwa/ChangeLog
M /branches/prog/bwa/bwase.c
M /branches/prog/bwa/main.c
* bwa-0.5.7-6 (r1399)
* fixed a typo/bug (by Vaughn Iverson)
------------------------------------------------------------------------
r1329 | lh3 | 2010-03-19 23:32:46 -0400 (Fri, 19 Mar 2010) | 2 lines
Changed paths:
M /branches/prog/bwa/bwape.c
M /branches/prog/bwa/main.c
small correction
------------------------------------------------------------------------
r1328 | lh3 | 2010-03-19 23:28:44 -0400 (Fri, 19 Mar 2010) | 3 lines
Changed paths:
M /branches/prog/bwa/bwape.c
M /branches/prog/bwa/main.c
* bwa-0.5.7-4 (r1328)
* automatically adjust ap_prior based on alignment
------------------------------------------------------------------------
r1327 | lh3 | 2010-03-19 23:02:40 -0400 (Fri, 19 Mar 2010) | 3 lines
Changed paths:
M /branches/prog/bwa/bwape.c
M /branches/prog/bwa/main.c
M /branches/prog/bwa/stdaln.c
M /branches/prog/bwa/stdaln.h
* bwa-0.5.7-3 (r1327)
* evaluate hits obtained from SW alignment in a more proper way.
------------------------------------------------------------------------
r1320 | lh3 | 2010-03-17 15:13:22 -0400 (Wed, 17 Mar 2010) | 2 lines
Changed paths:
M /branches/prog/bwa/bwape.c
fixed a potential out-of-boundary error. Need more testing.
------------------------------------------------------------------------
r1319 | lh3 | 2010-03-14 22:44:46 -0400 (Sun, 14 Mar 2010) | 2 lines
Changed paths:
M /branches/prog/bwa/bwape.c
insert size is `weird' if the 3rd quatile larger than 100,000bp
------------------------------------------------------------------------
r1318 | lh3 | 2010-03-14 22:37:35 -0400 (Sun, 14 Mar 2010) | 3 lines
Changed paths:
M /branches/prog/bwa/bwape.c
M /branches/prog/bwa/bwtaln.h
M /branches/prog/bwa/main.c
* bwa-0.5.7-2 (r1318)
* in sampe, allow to disable insert size estimate
------------------------------------------------------------------------
r1317 | lh3 | 2010-03-14 22:14:14 -0400 (Sun, 14 Mar 2010) | 5 lines
Changed paths:
M /branches/prog/bwa/bwape.c
M /branches/prog/bwa/bwase.c
M /branches/prog/bwa/main.c
M /branches/prog/bwa/solid2fastq.pl
* bwa-0.5.7-1 (r1317)
* fixed a potential bug in solid2fastq.pl
* fixed a bug in calculating mapping quality (by Rodrigo Goya)
* fixed a very rare bug (if ever occur) about pairing
------------------------------------------------------------------------
r1310 | lh3 | 2010-03-01 10:35:45 -0500 (Mon, 01 Mar 2010) | 2 lines
Changed paths:
M /branches/prog/bwa/ChangeLog
M /branches/prog/bwa/NEWS
M /branches/prog/bwa/main.c
Release bwa-0.5.7
------------------------------------------------------------------------
r1309 | lh3 | 2010-02-26 21:42:22 -0500 (Fri, 26 Feb 2010) | 4 lines
Changed paths:
M /branches/prog/bwa/bwape.c
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/main.c
* bwa-0.5.6-2 (r1309)
* fixed an unfixed bug (by Carol Scott)
* fixed some tiny formatting
------------------------------------------------------------------------
r1305 | lh3 | 2010-02-25 13:47:58 -0500 (Thu, 25 Feb 2010) | 3 lines
Changed paths:
M /branches/prog/bwa/bwape.c
M /branches/prog/bwa/bwase.c
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/bwtsw2_main.c
M /branches/prog/bwa/main.c
* bwa-0.5.6-1 (r1304)
* optionally write output to a file (by Tim Fennel)
------------------------------------------------------------------------
r1303 | lh3 | 2010-02-10 23:43:48 -0500 (Wed, 10 Feb 2010) | 2 lines
Changed paths:
M /branches/prog/bwa/ChangeLog
M /branches/prog/bwa/NEWS
M /branches/prog/bwa/bwa.1
M /branches/prog/bwa/bwtsw2_main.c
M /branches/prog/bwa/main.c
Release bwa-0.5.6
------------------------------------------------------------------------
r1302 | lh3 | 2010-02-10 11:11:49 -0500 (Wed, 10 Feb 2010) | 3 lines
Changed paths:
M /branches/prog/bwa/ChangeLog
M /branches/prog/bwa/NEWS
M /branches/prog/bwa/bwape.c
M /branches/prog/bwa/bwtaln.h
M /branches/prog/bwa/main.c
* bwa-0.5.5-10 (r1302)
* improve max insert size estimate (method suggested by Gerton Lunter)
------------------------------------------------------------------------
r1301 | lh3 | 2010-02-09 16:15:28 -0500 (Tue, 09 Feb 2010) | 5 lines
Changed paths:
M /branches/prog/bwa/bwape.c
M /branches/prog/bwa/bwase.c
M /branches/prog/bwa/main.c
* bwa-0.5.5-9 (r1301)
* improve mapping quality calculation for abnomalous pairs
* fixed a bug in multiple hits
* SOLiD multiple hits should work now
------------------------------------------------------------------------
r1300 | lh3 | 2010-02-09 12:50:02 -0500 (Tue, 09 Feb 2010) | 3 lines
Changed paths:
M /branches/prog/bwa/bwape.c
M /branches/prog/bwa/main.c
* bwa-0.5.5-8 (r1300)
* output kurtosis
------------------------------------------------------------------------
r1299 | lh3 | 2010-02-09 12:33:34 -0500 (Tue, 09 Feb 2010) | 5 lines
Changed paths:
M /branches/prog/bwa/bwape.c
M /branches/prog/bwa/main.c
* bwa-0.5.5-7 (r1299)
* calculate skewness in sampe
* increase min_len in SW to 20
* perform more SW to fix discordant pairs
------------------------------------------------------------------------
r1298 | lh3 | 2010-02-08 12:40:31 -0500 (Mon, 08 Feb 2010) | 3 lines
Changed paths:
M /branches/prog/bwa/bwape.c
M /branches/prog/bwa/bwase.c
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/bwtaln.h
M /branches/prog/bwa/cs2nt.c
M /branches/prog/bwa/main.c
M /branches/prog/bwa/stdaln.h
* bwa-0.5.5-6 (r1297)
* prepare to replace all 16-bit CIGAR (patches by Rodrigo Goya)
------------------------------------------------------------------------
r1297 | lh3 | 2010-02-05 22:26:11 -0500 (Fri, 05 Feb 2010) | 2 lines
Changed paths:
M /branches/prog/bwa/solid2fastq.pl
the old fix seems not working!
------------------------------------------------------------------------
r1296 | lh3 | 2010-02-05 21:51:03 -0500 (Fri, 05 Feb 2010) | 3 lines
Changed paths:
M /branches/prog/bwa/bwa.1
M /branches/prog/bwa/bwape.c
M /branches/prog/bwa/main.c
* bwa-0.5.5-5 (r1296)
* fixed a minor issue that the lower bound of insert size is not correctly set.
------------------------------------------------------------------------
r1295 | lh3 | 2010-02-05 21:01:10 -0500 (Fri, 05 Feb 2010) | 5 lines
Changed paths:
M /branches/prog/bwa/bwape.c
M /branches/prog/bwa/bwase.c
M /branches/prog/bwa/bwaseqio.c
M /branches/prog/bwa/main.c
* bwa-0.5.5-4 (r1295)
* fixed a memory leak
* change the behaviour of -n (samse and sampe)
* change the default of -n
------------------------------------------------------------------------
r1294 | lh3 | 2010-02-05 17:24:06 -0500 (Fri, 05 Feb 2010) | 3 lines
Changed paths:
M /branches/prog/bwa/bwape.c
M /branches/prog/bwa/bwase.c
M /branches/prog/bwa/bwaseqio.c
M /branches/prog/bwa/bwtaln.h
M /branches/prog/bwa/main.c
* bwa-0.5.5-3 (r1294)
* improved multi-hit report
------------------------------------------------------------------------
r1293 | lh3 | 2010-02-05 12:57:38 -0500 (Fri, 05 Feb 2010) | 5 lines
Changed paths:
M /branches/prog/bwa/bwape.c
M /branches/prog/bwa/bwase.c
M /branches/prog/bwa/cs2nt.c
M /branches/prog/bwa/main.c
M /branches/prog/bwa/solid2fastq.pl
* bwa-0.5.5-2 (r1293)
* bugfix: truncated quality string
* bugfix: quality -1 in solid->fastq conversion
* bugfix: color reads on the reverse strand is not complemented
------------------------------------------------------------------------
r1279 | lh3 | 2009-11-23 22:42:34 -0500 (Mon, 23 Nov 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/bntseq.c
M /branches/prog/bwa/bntseq.h
M /branches/prog/bwa/bwase.c
A /branches/prog/bwa/bwase.h
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/bwtaln.h
M /branches/prog/bwa/bwtsw2_aux.c
M /branches/prog/bwa/main.c
* bwa-0.5.5-1 (r1279)
* incorporate changes from Matt Hanna for Java bindings.
------------------------------------------------------------------------
r1275 | lh3 | 2009-11-10 22:13:10 -0500 (Tue, 10 Nov 2009) | 2 lines
Changed paths:
M /branches/prog/bwa/ChangeLog
update ChangeLog
------------------------------------------------------------------------
r1273 | lh3 | 2009-11-10 22:08:16 -0500 (Tue, 10 Nov 2009) | 2 lines
Changed paths:
M /branches/prog/bwa/NEWS
M /branches/prog/bwa/bwa.1
M /branches/prog/bwa/main.c
A /branches/prog/bwa/qualfa2fq.pl
Release bwa-0.5.5 (r1273)
------------------------------------------------------------------------
r1272 | lh3 | 2009-11-10 22:02:50 -0500 (Tue, 10 Nov 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/bwape.c
M /branches/prog/bwa/main.c
* bwa-0.5.4-3 (r1272)
* fixed another typo which may lead to incorrect single-end mapping quality
------------------------------------------------------------------------
r1271 | lh3 | 2009-11-10 21:59:47 -0500 (Tue, 10 Nov 2009) | 4 lines
Changed paths:
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/main.c
* bwa-0.5.4-2 (r1271)
* fixed a serious typo/bug which does not hurt if we allow one gap open
and work with <200bp reads, but causes segfault for long reads.
------------------------------------------------------------------------
r1270 | lh3 | 2009-11-09 23:12:42 -0500 (Mon, 09 Nov 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/cs2nt.c
M /branches/prog/bwa/main.c
* bwa-0.5.4-1 (r1270)
* fixed a bug in color alignment
------------------------------------------------------------------------
r1245 | lh3 | 2009-10-09 07:42:52 -0400 (Fri, 09 Oct 2009) | 2 lines
Changed paths:
M /branches/prog/bwa/ChangeLog
M /branches/prog/bwa/NEWS
M /branches/prog/bwa/bwa.1
M /branches/prog/bwa/bwape.c
M /branches/prog/bwa/bwase.c
M /branches/prog/bwa/bwaseqio.c
M /branches/prog/bwa/main.c
Release bwa-0.5.4
------------------------------------------------------------------------
r1244 | lh3 | 2009-10-09 05:53:52 -0400 (Fri, 09 Oct 2009) | 5 lines
Changed paths:
M /branches/prog/bwa/ChangeLog
M /branches/prog/bwa/bwape.c
M /branches/prog/bwa/bwase.c
M /branches/prog/bwa/bwaseqio.c
M /branches/prog/bwa/bwtaln.h
M /branches/prog/bwa/main.c
M /branches/prog/bwa/stdaln.c
* bwa-0.5.3-4 (r1244)
* output the clipped length in XC:i: tag
* skip mate alignment when stdaln is buggy
* fixed a bug in NM:i: tag
------------------------------------------------------------------------
r1243 | lh3 | 2009-10-07 08:15:04 -0400 (Wed, 07 Oct 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/bwape.c
M /branches/prog/bwa/main.c
* bwa-0.5.3-3 (r1243)
* sampe: fixed a bug when a read sequence is identical its reverse complement.
------------------------------------------------------------------------
r1242 | lh3 | 2009-10-07 07:49:13 -0400 (Wed, 07 Oct 2009) | 4 lines
Changed paths:
M /branches/prog/bwa/bntseq.c
M /branches/prog/bwa/bwape.c
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/bwtaln.h
M /branches/prog/bwa/main.c
* bwa-0.5.3-2 (r1242)
* sampe: optionall preload the full index into memory
* aln: change the default seed length to 32bp
------------------------------------------------------------------------
r1238 | lh3 | 2009-09-26 18:38:15 -0400 (Sat, 26 Sep 2009) | 2 lines
Changed paths:
M /branches/prog/bwa/khash.h
Improve portability of khash.h
------------------------------------------------------------------------
r1228 | lh3 | 2009-09-15 09:20:22 -0400 (Tue, 15 Sep 2009) | 2 lines
Changed paths:
M /branches/prog/bwa/main.c
fixed a typo
------------------------------------------------------------------------
r1227 | lh3 | 2009-09-15 09:19:35 -0400 (Tue, 15 Sep 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/bwtsw2.h
M /branches/prog/bwa/bwtsw2_aux.c
M /branches/prog/bwa/bwtsw2_main.c
M /branches/prog/bwa/main.c
* bwa-0.5.3-1 (r1226)
* in dBWT-SW, optionall use hard clipping instead of soft clipping
------------------------------------------------------------------------
r1225 | lh3 | 2009-09-15 08:32:30 -0400 (Tue, 15 Sep 2009) | 2 lines
Changed paths:
M /branches/prog/bwa/NEWS
M /branches/prog/bwa/bwase.c
M /branches/prog/bwa/main.c
Release bwa-0.5.3 (r1225)
------------------------------------------------------------------------
r1223 | lh3 | 2009-09-13 07:30:41 -0400 (Sun, 13 Sep 2009) | 2 lines
Changed paths:
M /branches/prog/bwa/ChangeLog
M /branches/prog/bwa/NEWS
M /branches/prog/bwa/bwa.1
M /branches/prog/bwa/main.c
Release bwa-0.5.2
------------------------------------------------------------------------
r1222 | lh3 | 2009-09-11 09:11:39 -0400 (Fri, 11 Sep 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/main.c
* bwa-0.5.1-5 (r1222)
* fixed a typo. No real change
------------------------------------------------------------------------
r1221 | lh3 | 2009-09-11 09:09:44 -0400 (Fri, 11 Sep 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/bwa.1
M /branches/prog/bwa/bwape.c
M /branches/prog/bwa/bwase.c
M /branches/prog/bwa/bwaseqio.c
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/bwtaln.h
M /branches/prog/bwa/main.c
* bwa-0.5.1-4 (r1221)
* trim reads before alignment
------------------------------------------------------------------------
r1216 | lh3 | 2009-09-08 17:50:15 -0400 (Tue, 08 Sep 2009) | 4 lines
Changed paths:
M /branches/prog/bwa/bwape.c
M /branches/prog/bwa/bwase.c
M /branches/prog/bwa/bwtaln.h
M /branches/prog/bwa/main.c
* bwa-0.5.1-3 (r1216)
* fixed a bug about NM tags for gapped alignment
* print SAM header
------------------------------------------------------------------------
r1215 | lh3 | 2009-09-08 17:14:42 -0400 (Tue, 08 Sep 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/main.c
* bwa-0.5.1-2 (r1215)
* fixed a bug when read lengths vary (by John Marshall)
------------------------------------------------------------------------
r1213 | lh3 | 2009-09-06 18:58:15 -0400 (Sun, 06 Sep 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/bwtsw2_aux.c
M /branches/prog/bwa/main.c
* bwa-0.5.1-1 (r1213)
* change default -T to 30
------------------------------------------------------------------------
r1209 | lh3 | 2009-09-02 06:06:02 -0400 (Wed, 02 Sep 2009) | 2 lines
Changed paths:
M /branches/prog/bwa/NEWS
M /branches/prog/bwa/bwa.1
M /branches/prog/bwa/main.c
Release bwa-0.5.1
------------------------------------------------------------------------
r1208 | lh3 | 2009-09-02 05:56:33 -0400 (Wed, 02 Sep 2009) | 2 lines
Changed paths:
M /branches/prog/bwa/ChangeLog
* ChangeLog
------------------------------------------------------------------------
r1206 | lh3 | 2009-08-30 18:27:30 -0400 (Sun, 30 Aug 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/bwtsw2_aux.c
M /branches/prog/bwa/main.c
* bwa-0.5.0-6 (r1206)
* fixed two bugs caused by previous modification
------------------------------------------------------------------------
r1205 | lh3 | 2009-08-30 17:28:36 -0400 (Sun, 30 Aug 2009) | 4 lines
Changed paths:
M /branches/prog/bwa/ChangeLog
M /branches/prog/bwa/bwtsw2_aux.c
M /branches/prog/bwa/main.c
* bwa-0.5.0-4 (r1205)
* reduce false coordinates and CIGAR when a query bridges two reference
sequences, although some very rare cases may fail bwa.
------------------------------------------------------------------------
r1204 | lh3 | 2009-08-30 06:06:16 -0400 (Sun, 30 Aug 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/bwtsw2_aux.c
M /branches/prog/bwa/bwtsw2_core.c
M /branches/prog/bwa/main.c
* bwa-0.5.0-3 (r1204)
* choose one repetitive hit to extend
------------------------------------------------------------------------
r1203 | lh3 | 2009-08-29 18:11:51 -0400 (Sat, 29 Aug 2009) | 4 lines
Changed paths:
M /branches/prog/bwa/bwase.c
M /branches/prog/bwa/bwtsw2_aux.c
M /branches/prog/bwa/main.c
* bwa-0.5.0-2 (r1203)
* dBWT-SW: change a parameter in calculating mapping quality
* fixed a bug in samse
------------------------------------------------------------------------
r1202 | lh3 | 2009-08-28 19:48:41 -0400 (Fri, 28 Aug 2009) | 4 lines
Changed paths:
M /branches/prog/bwa/bwtsw2_aux.c
M /branches/prog/bwa/main.c
* bwa-0.5.0-1 (r1202)
* change default band width to 50
* improve mapping quality a bit
------------------------------------------------------------------------
r1200 | lh3 | 2009-08-20 06:21:24 -0400 (Thu, 20 Aug 2009) | 2 lines
Changed paths:
M /branches/prog/bwa/NEWS
M /branches/prog/bwa/main.c
Release bwa-0.5.0 (r1200)
------------------------------------------------------------------------
r1199 | lh3 | 2009-08-20 04:49:15 -0400 (Thu, 20 Aug 2009) | 2 lines
Changed paths:
M /branches/prog/bwa/ChangeLog
M /branches/prog/bwa/bwa.1
Updated ChangeLog and the manual
------------------------------------------------------------------------
r1198 | lh3 | 2009-08-19 11:09:15 -0400 (Wed, 19 Aug 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/bwtsw2_aux.c
M /branches/prog/bwa/bwtsw2_core.c
M /branches/prog/bwa/main.c
* bwa-0.4.9-36 (r1198)
* simplify duphits removal. The accuracy is changed a tiny bit, sometimes better, sometimes worse.
------------------------------------------------------------------------
r1197 | lh3 | 2009-08-19 08:15:05 -0400 (Wed, 19 Aug 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/Makefile
M /branches/prog/bwa/bwtsw2_aux.c
A /branches/prog/bwa/bwtsw2_chain.c
M /branches/prog/bwa/main.c
* bwa-0.4.9-35 (r1197)
* further heuristic acceleration for long queries
------------------------------------------------------------------------
r1196 | lh3 | 2009-08-18 06:54:03 -0400 (Tue, 18 Aug 2009) | 4 lines
Changed paths:
M /branches/prog/bwa/bwa.1
M /branches/prog/bwa/bwtsw2_aux.c
M /branches/prog/bwa/main.c
* bwa-0.4.9-34 (r1196)
* updated the manual page
* output base quality if the input is fastq
------------------------------------------------------------------------
r1195 | lh3 | 2009-08-18 06:23:00 -0400 (Tue, 18 Aug 2009) | 4 lines
Changed paths:
M /branches/prog/bwa/bwase.c
M /branches/prog/bwa/bwtsw2_main.c
M /branches/prog/bwa/main.c
M /branches/prog/bwa/simple_dp.c
* bwa-0.4.9-33 (r1191)
* fixed a bug in sampe/samse when gaps occur to the 5'-end in SW alignment
* in dbwtsw adjust -T and -c according to -a
------------------------------------------------------------------------
r1192 | lh3 | 2009-08-13 05:37:28 -0400 (Thu, 13 Aug 2009) | 2 lines
Changed paths:
M /branches/prog/bwa/bwa.1
update manual
------------------------------------------------------------------------
r1191 | lh3 | 2009-08-12 19:40:51 -0400 (Wed, 12 Aug 2009) | 2 lines
Changed paths:
M /branches/prog/bwa/bwa.1
M /branches/prog/bwa/bwtsw2_main.c
update documentation
------------------------------------------------------------------------
r1190 | lh3 | 2009-08-12 08:56:10 -0400 (Wed, 12 Aug 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/bwtsw2_main.c
M /branches/prog/bwa/main.c
* bwa-0.4.9-32 (r1190)
* only help messages are changed
------------------------------------------------------------------------
r1189 | lh3 | 2009-08-11 09:28:55 -0400 (Tue, 11 Aug 2009) | 4 lines
Changed paths:
M /branches/prog/bwa/bwase.c
M /branches/prog/bwa/bwtsw2.h
M /branches/prog/bwa/bwtsw2_aux.c
M /branches/prog/bwa/bwtsw2_core.c
M /branches/prog/bwa/main.c
* bwa-0.4.9-31 (r1189)
* in bwape/bwase, print CIGAR "*" if the read is unmapped
* improved the calculation of mapping quality
------------------------------------------------------------------------
r1181 | lh3 | 2009-08-03 12:09:41 -0400 (Mon, 03 Aug 2009) | 2 lines
Changed paths:
M /branches/prog/bwa/bwtsw2_aux.c
fflush()
------------------------------------------------------------------------
r1180 | lh3 | 2009-08-03 12:08:46 -0400 (Mon, 03 Aug 2009) | 4 lines
Changed paths:
M /branches/prog/bwa/bwtsw2_aux.c
M /branches/prog/bwa/main.c
* bwa-0.4.9-30 (r1180)
* fixed a memory problem
* multi-threading sometimes does not work...
------------------------------------------------------------------------
r1179 | lh3 | 2009-08-03 11:04:39 -0400 (Mon, 03 Aug 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/Makefile
M /branches/prog/bwa/bwtsw2.h
M /branches/prog/bwa/bwtsw2_aux.c
M /branches/prog/bwa/bwtsw2_main.c
M /branches/prog/bwa/main.c
* bwa-0.4.9-29 (r1179)
* preliminary mutli-threading support in dbwtsw
------------------------------------------------------------------------
r1178 | lh3 | 2009-08-03 09:14:54 -0400 (Mon, 03 Aug 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/bwtsw2_aux.c
M /branches/prog/bwa/bwtsw2_main.c
M /branches/prog/bwa/main.c
* bwa-0.4.9-28 (r1178)
* fixed a bug in printing repetitive hits
------------------------------------------------------------------------
r1177 | lh3 | 2009-08-03 05:03:42 -0400 (Mon, 03 Aug 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/bwtsw2_core.c
M /branches/prog/bwa/main.c
* bwa-0.4.9-27 (r1177)
* bwtsw2: fixed a hidden memory leak
------------------------------------------------------------------------
r1176 | lh3 | 2009-07-31 10:58:24 -0400 (Fri, 31 Jul 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/bwtsw2_aux.c
M /branches/prog/bwa/bwtsw2_main.c
M /branches/prog/bwa/main.c
* bwa-0.4.9-26
* change the way mapping quality is calculated
------------------------------------------------------------------------
r1175 | lh3 | 2009-07-31 09:15:54 -0400 (Fri, 31 Jul 2009) | 4 lines
Changed paths:
M /branches/prog/bwa/bwtsw2.h
M /branches/prog/bwa/bwtsw2_aux.c
M /branches/prog/bwa/bwtsw2_core.c
M /branches/prog/bwa/bwtsw2_main.c
M /branches/prog/bwa/main.c
* bwa-0.4.9-25
* code clean up
* automatically adjust ->t and ->is_rev based on input
------------------------------------------------------------------------
r1174 | lh3 | 2009-07-30 08:50:25 -0400 (Thu, 30 Jul 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/bwtsw2_aux.c
M /branches/prog/bwa/main.c
* bwa-0.4.9-24
* fixed a bug in printing the hits
------------------------------------------------------------------------
r1173 | lh3 | 2009-07-29 18:32:43 -0400 (Wed, 29 Jul 2009) | 4 lines
Changed paths:
M /branches/prog/bwa/bwtsw2.h
M /branches/prog/bwa/bwtsw2_aux.c
M /branches/prog/bwa/bwtsw2_main.c
M /branches/prog/bwa/main.c
* bwa-0.4.9-23
* allow to skip reverse alignment
* increase opt->t to 37
------------------------------------------------------------------------
r1172 | lh3 | 2009-07-29 17:22:39 -0400 (Wed, 29 Jul 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/bwtsw2_aux.c
M /branches/prog/bwa/bwtsw2_main.c
M /branches/prog/bwa/main.c
* bwa-0.4.9-22
* report if the hit is found in both directions
------------------------------------------------------------------------
r1171 | lh3 | 2009-07-29 17:12:02 -0400 (Wed, 29 Jul 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/bwtsw2.h
M /branches/prog/bwa/bwtsw2_aux.c
M /branches/prog/bwa/bwtsw2_main.c
M /branches/prog/bwa/main.c
* bwa-0.4.9-21
* dbwtsw: map to both forward and reverse BWT to reduce false alignment
------------------------------------------------------------------------
r1170 | lh3 | 2009-07-29 15:25:14 -0400 (Wed, 29 Jul 2009) | 2 lines
Changed paths:
M /branches/prog/bwa/bwtsw2_core.c
M /branches/prog/bwa/main.c
save hits before cut_tail()
------------------------------------------------------------------------
r1169 | lh3 | 2009-07-29 08:06:01 -0400 (Wed, 29 Jul 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/bwtsw2.h
M /branches/prog/bwa/bwtsw2_aux.c
M /branches/prog/bwa/bwtsw2_core.c
M /branches/prog/bwa/main.c
M /branches/prog/bwa/stdaln.c
M /branches/prog/bwa/stdaln.h
* bwa-0.4.9-19
* use a global memory pool to reduce the CPU time spent on malloc/free().
------------------------------------------------------------------------
r1168 | lh3 | 2009-07-29 06:13:29 -0400 (Wed, 29 Jul 2009) | 5 lines
Changed paths:
M /branches/prog/bwa/bwtsw2.h
M /branches/prog/bwa/bwtsw2_aux.c
M /branches/prog/bwa/bwtsw2_core.c
M /branches/prog/bwa/bwtsw2_main.c
M /branches/prog/bwa/main.c
* bwa-0.4.9-18
* reduce unnecessary extension to the 5'-end
* allow to use different interval size for the 2 rounds
* change default parameters
------------------------------------------------------------------------
r1167 | lh3 | 2009-07-28 19:06:17 -0400 (Tue, 28 Jul 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/bwtsw2_core.c
M /branches/prog/bwa/main.c
* bwa-0.4.9-17
* dbwtsw: fixed THE memory leak.
------------------------------------------------------------------------
r1166 | lh3 | 2009-07-28 16:31:41 -0400 (Tue, 28 Jul 2009) | 5 lines
Changed paths:
M /branches/prog/bwa/bwtsw2_aux.c
M /branches/prog/bwa/bwtsw2_core.c
M /branches/prog/bwa/bwtsw2_main.c
M /branches/prog/bwa/main.c
M /branches/prog/bwa/stdaln.c
* bwa-0.4.9-16
* fixed a memory leak
* a small memory leak still occurs to bwtsw2_core(). I will work on that later.
* changed the default parameters
------------------------------------------------------------------------
r1165 | lh3 | 2009-07-28 10:15:40 -0400 (Tue, 28 Jul 2009) | 4 lines
Changed paths:
M /branches/prog/bwa/bwtsw2_aux.c
M /branches/prog/bwa/bwtsw2_core.c
M /branches/prog/bwa/main.c
M /branches/prog/bwa/stdaln.c
* bwa-0.4.9-15
* generate CIGAR right before output. This saves unnecessary computation.
* this version may be buggy as I have not tested it.
------------------------------------------------------------------------
r1164 | lh3 | 2009-07-28 09:04:14 -0400 (Tue, 28 Jul 2009) | 11 lines
Changed paths:
M /branches/prog/bwa/bwtsw2.h
M /branches/prog/bwa/bwtsw2_aux.c
M /branches/prog/bwa/bwtsw2_core.c
M /branches/prog/bwa/main.c
M /branches/prog/bwa/stdaln.c
M /branches/prog/bwa/stdaln.h
* bwa-0.4.9-14
* deplete unique hits in dbwtsw and postprocess them with standard sw
* in principle, this stratgy should be faster and more accurate, but I
have not tested this point. I may switch back to the old method if
this does not work.
* the code looks quite nasty now. it needs clean up...
------------------------------------------------------------------------
r1163 | lh3 | 2009-07-27 17:41:10 -0400 (Mon, 27 Jul 2009) | 2 lines
Changed paths:
M /branches/prog/bwa/bwtsw2_aux.c
change a default parameter
------------------------------------------------------------------------
r1162 | lh3 | 2009-07-27 17:04:35 -0400 (Mon, 27 Jul 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/bwtsw2.h
M /branches/prog/bwa/bwtsw2_aux.c
M /branches/prog/bwa/bwtsw2_core.c
M /branches/prog/bwa/bwtsw2_main.c
M /branches/prog/bwa/main.c
* bwa-0.4.9-13
* dbwtsw: switch between small and large Z-best
------------------------------------------------------------------------
r1161 | lh3 | 2009-07-27 12:17:41 -0400 (Mon, 27 Jul 2009) | 4 lines
Changed paths:
M /branches/prog/bwa/bwtsw2_aux.c
M /branches/prog/bwa/bwtsw2_core.c
M /branches/prog/bwa/main.c
* bwa-0.4.9-12
* changed the default -z to 100
* heuristically speed up alignments for polyA reads
------------------------------------------------------------------------
r1160 | lh3 | 2009-07-27 07:50:57 -0400 (Mon, 27 Jul 2009) | 6 lines
Changed paths:
M /branches/prog/bwa/bwtsw2.h
M /branches/prog/bwa/bwtsw2_aux.c
M /branches/prog/bwa/bwtsw2_core.c
M /branches/prog/bwa/main.c
* bwa-0.4.9-11
* dbwtsw potentially generates less false alignments, although in
practice, the modification brings no improvement.
------------------------------------------------------------------------
r1159 | lh3 | 2009-07-27 04:37:02 -0400 (Mon, 27 Jul 2009) | 4 lines
Changed paths:
M /branches/prog/bwa/bwase.c
M /branches/prog/bwa/bwtsw2_aux.c
M /branches/prog/bwa/bwtsw2_core.c
M /branches/prog/bwa/main.c
* bwa-0.4.9-10
* disabled debugging code
* add "BAM_FMU" if both ends are unmapped
------------------------------------------------------------------------
r1158 | lh3 | 2009-07-24 09:36:52 -0400 (Fri, 24 Jul 2009) | 2 lines
Changed paths:
M /branches/prog/bwa/main.c
nothing, really
------------------------------------------------------------------------
r1157 | lh3 | 2009-07-24 09:05:44 -0400 (Fri, 24 Jul 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/bwtsw2_aux.c
M /branches/prog/bwa/bwtsw2_core.c
M /branches/prog/bwa/main.c
* bwa-0.4.9-9
* bwtsw2: generate SAM output
------------------------------------------------------------------------
r1156 | lh3 | 2009-07-24 05:42:47 -0400 (Fri, 24 Jul 2009) | 6 lines
Changed paths:
M /branches/prog/bwa/bwape.c
M /branches/prog/bwa/main.c
* bwa-0.4.9-8
* fixed a weird deadloop which only happens to icc -O3. Thanks John
Marshall for the fix.
------------------------------------------------------------------------
r1155 | lh3 | 2009-07-24 05:28:40 -0400 (Fri, 24 Jul 2009) | 8 lines
Changed paths:
M /branches/prog/bwa/bwtsw2_aux.c
M /branches/prog/bwa/bwtsw2_core.c
M /branches/prog/bwa/main.c
* bwa-0.4.9-7
* fixed a typo in bwtsw2 alignment. Now score from the standard SW
seems to agree with score from bwtsw2, except that in reporting
alignments, bwtsw2 may report non-optimal segments. This is expected,
though. I will improve in future.
------------------------------------------------------------------------
r1154 | lh3 | 2009-07-23 17:40:20 -0400 (Thu, 23 Jul 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/stdaln.c
M /branches/prog/bwa/stdaln.h
* aln_left_core() seems to work properly
* aln_local_core() has a bug... AN EVER EXISTING BUG!!!!!!!!!!!
------------------------------------------------------------------------
r1153 | lh3 | 2009-07-23 17:06:09 -0400 (Thu, 23 Jul 2009) | 2 lines
Changed paths:
M /branches/prog/bwa/stdaln.c
removed debugging code...
------------------------------------------------------------------------
r1152 | lh3 | 2009-07-23 17:01:00 -0400 (Thu, 23 Jul 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/stdaln.c
* radical changes failed...
* fixed a bug
------------------------------------------------------------------------
r1151 | lh3 | 2009-07-23 14:46:35 -0400 (Thu, 23 Jul 2009) | 2 lines
Changed paths:
M /branches/prog/bwa/stdaln.c
temporary changes. Will apply some radical changes to this file...
------------------------------------------------------------------------
r1150 | lh3 | 2009-07-23 10:09:56 -0400 (Thu, 23 Jul 2009) | 2 lines
Changed paths:
M /branches/prog/bwa/bwtsw2_aux.c
M /branches/prog/bwa/bwtsw2_main.c
M /branches/prog/bwa/stdaln.c
fixed a long-existing bug in Smith-Waterman alignment
------------------------------------------------------------------------
r1149 | lh3 | 2009-07-23 08:50:52 -0400 (Thu, 23 Jul 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/bwtsw2.h
M /branches/prog/bwa/bwtsw2_aux.c
M /branches/prog/bwa/bwtsw2_main.c
M /branches/prog/bwa/main.c
M /branches/prog/bwa/simple_dp.c
M /branches/prog/bwa/stdaln.c
M /branches/prog/bwa/stdaln.h
* bwa-0.4.9-6
* unexplained inconsistency still occurs, but the results largely look reasonable.
------------------------------------------------------------------------
r1148 | lh3 | 2009-07-23 08:07:29 -0400 (Thu, 23 Jul 2009) | 2 lines
Changed paths:
M /branches/prog/bwa/stdaln.c
half DP
------------------------------------------------------------------------
r1147 | lh3 | 2009-07-22 08:03:06 -0400 (Wed, 22 Jul 2009) | 2 lines
Changed paths:
M /branches/prog/bwa/bwtsw2.h
M /branches/prog/bwa/bwtsw2_aux.c
M /branches/prog/bwa/bwtsw2_core.c
M /branches/prog/bwa/bwtsw2_main.c
a bit code clean up
------------------------------------------------------------------------
r1145 | lh3 | 2009-07-21 15:52:05 -0400 (Tue, 21 Jul 2009) | 4 lines
Changed paths:
M /branches/prog/bwa/bwtsw2_aux.c
M /branches/prog/bwa/bwtsw2_core.c
M /branches/prog/bwa/main.c
* bwa-0.4.9-5
* fixed a bug in determining sub-optimal hits
* removed some debugging codes
------------------------------------------------------------------------
r1144 | lh3 | 2009-07-21 10:17:29 -0400 (Tue, 21 Jul 2009) | 4 lines
Changed paths:
M /branches/prog/bwa/bwtsw2.h
M /branches/prog/bwa/bwtsw2_aux.c
M /branches/prog/bwa/bwtsw2_core.c
M /branches/prog/bwa/bwtsw2_main.c
M /branches/prog/bwa/main.c
* bwa-0.4.9-4
* better cmd interface
* faster speed
------------------------------------------------------------------------
r1143 | lh3 | 2009-07-20 16:38:18 -0400 (Mon, 20 Jul 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/bwtsw2.h
M /branches/prog/bwa/bwtsw2_aux.c
M /branches/prog/bwa/bwtsw2_core.c
M /branches/prog/bwa/bwtsw2_main.c
M /branches/prog/bwa/main.c
bwtsw2 (dBWT-SW) is working apparently...
------------------------------------------------------------------------
r1139 | lh3 | 2009-07-15 05:52:18 -0400 (Wed, 15 Jul 2009) | 4 lines
Changed paths:
M /branches/prog/bwa/bwtsw2_core.c
M /branches/prog/bwa/main.c
* bwa-0.4.9-2
* bwtsw2: change cut_tail() such that it is faster but more likely to
miss true hits
------------------------------------------------------------------------
r1138 | lh3 | 2009-07-15 05:18:42 -0400 (Wed, 15 Jul 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/Makefile
A /branches/prog/bwa/bwt_lite.c
A /branches/prog/bwa/bwt_lite.h
A /branches/prog/bwa/bwtsw2.h
A /branches/prog/bwa/bwtsw2_aux.c
A /branches/prog/bwa/bwtsw2_core.c
A /branches/prog/bwa/bwtsw2_main.c
M /branches/prog/bwa/main.c
M /branches/prog/bwa/main.h
* bwa-0.4.9-1
* added back bwtsw2
------------------------------------------------------------------------
r1075 | lh3 | 2009-05-19 05:14:50 -0400 (Tue, 19 May 2009) | 2 lines
Changed paths:
M /branches/prog/bwa/NEWS
M /branches/prog/bwa/bwase.c
M /branches/prog/bwa/main.c
Release bwa-0.4.9
------------------------------------------------------------------------
r1073 | lh3 | 2009-05-18 17:13:19 -0400 (Mon, 18 May 2009) | 2 lines
Changed paths:
M /branches/prog/bwa/NEWS
M /branches/prog/bwa/bwa.1
M /branches/prog/bwa/main.c
Release bwa-0.4.8
------------------------------------------------------------------------
r1069 | lh3 | 2009-05-14 09:54:54 -0400 (Thu, 14 May 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/main.c
* bwa-0.4.7-2
* change the default of "aln -R" to 30
------------------------------------------------------------------------
r1068 | lh3 | 2009-05-14 09:27:55 -0400 (Thu, 14 May 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/bwape.c
M /branches/prog/bwa/bwase.c
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/bwtaln.h
M /branches/prog/bwa/bwtgap.c
M /branches/prog/bwa/main.c
* bwa-0.4.7-1
* search for suboptimal hits if the top hit is not so repetitive
------------------------------------------------------------------------
r1066 | lh3 | 2009-05-12 15:31:31 -0400 (Tue, 12 May 2009) | 2 lines
Changed paths:
M /branches/prog/bwa/ChangeLog
M /branches/prog/bwa/NEWS
M /branches/prog/bwa/bwase.c
M /branches/prog/bwa/main.c
Release bwa-0.4.7
------------------------------------------------------------------------
r1065 | lh3 | 2009-05-12 15:20:40 -0400 (Tue, 12 May 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/bwape.c
M /branches/prog/bwa/bwase.c
M /branches/prog/bwa/main.c
* bwa-0.4.6-9
* fixed compiling errors on some Linux machines
------------------------------------------------------------------------
r1064 | lh3 | 2009-05-12 07:30:46 -0400 (Tue, 12 May 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/main.c
* bwa-0.4.6-8
* avoid compilation error on some systems.
------------------------------------------------------------------------
r1035 | lh3 | 2009-05-09 05:41:33 -0400 (Sat, 09 May 2009) | 4 lines
Changed paths:
M /branches/prog/bwa/bwape.c
M /branches/prog/bwa/bwase.c
M /branches/prog/bwa/main.c
* bwa-0.4.6-7
* fixed an integer overflow caused by previous modifications
* made insert size estimation more robust
------------------------------------------------------------------------
r1008 | lh3 | 2009-04-29 05:41:58 -0400 (Wed, 29 Apr 2009) | 4 lines
Changed paths:
M /branches/prog/bwa/bwase.c
M /branches/prog/bwa/main.c
* bwa-0.4.6-5
* fixed a integer overflow problem which may cause seg fault in very rare cases
* made XN tags more accurate
------------------------------------------------------------------------
r1005 | lh3 | 2009-04-27 07:37:23 -0400 (Mon, 27 Apr 2009) | 4 lines
Changed paths:
M /branches/prog/bwa/bwape.c
M /branches/prog/bwa/main.c
M /branches/prog/bwa/simple_dp.c
M /branches/prog/bwa/stdaln.c
M /branches/prog/bwa/stdaln.h
* bwa-0.4.6-4
* heuristic rules to detect suboptimal alignment
* stdsw: support double-strand and protein alignment
------------------------------------------------------------------------
r1003 | lh3 | 2009-04-26 12:48:19 -0400 (Sun, 26 Apr 2009) | 4 lines
Changed paths:
M /branches/prog/bwa/main.c
M /branches/prog/bwa/simple_dp.c
M /branches/prog/bwa/stdaln.c
M /branches/prog/bwa/stdaln.h
* bwa-0.4.6-2
* improve the functionality of stdsw
* allow to add a threshold on SW alignment. Hope this does not incur new bugs...
------------------------------------------------------------------------
r1002 | lh3 | 2009-04-22 03:56:15 -0400 (Wed, 22 Apr 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/bwa.1
M /branches/prog/bwa/bwape.c
M /branches/prog/bwa/bwase.c
M /branches/prog/bwa/bwtaln.h
M /branches/prog/bwa/main.c
* bwa-0.4.6-1
* output SM and AM tag
------------------------------------------------------------------------
r914 | lh3 | 2009-03-09 17:53:50 -0400 (Mon, 09 Mar 2009) | 2 lines
Changed paths:
M /branches/prog/bwa/ChangeLog
M /branches/prog/bwa/NEWS
M /branches/prog/bwa/main.c
Release bwa-0.4.6
------------------------------------------------------------------------
r913 | lh3 | 2009-03-09 17:23:24 -0400 (Mon, 09 Mar 2009) | 4 lines
Changed paths:
M /branches/prog/bwa/bwa.1
M /branches/prog/bwa/bwape.c
A /branches/prog/bwa/solid2fastq.pl
* added notes to bwa
* added a script to convert SOLiD reads
* updated documentations
------------------------------------------------------------------------
r912 | lh3 | 2009-03-09 16:57:05 -0400 (Mon, 09 Mar 2009) | 2 lines
Changed paths:
M /branches/prog/bwa/ChangeLog
M /branches/prog/bwa/kstring.c
M /branches/prog/bwa/main.c
fixed a bug in kstring
------------------------------------------------------------------------
r881 | lh3 | 2009-03-02 15:36:06 -0500 (Mon, 02 Mar 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/bwtmisc.c
M /branches/prog/bwa/main.c
* bwa-0.4.5-7
* fixed a bug in pac2cspac
------------------------------------------------------------------------
r880 | lh3 | 2009-03-01 16:34:08 -0500 (Sun, 01 Mar 2009) | 2 lines
Changed paths:
M /branches/prog/bwa/Makefile
disable debugging
------------------------------------------------------------------------
r879 | lh3 | 2009-03-01 16:28:04 -0500 (Sun, 01 Mar 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/bwase.c
M /branches/prog/bwa/cs2nt.c
M /branches/prog/bwa/main.c
* bwa-0.4.5-6
* fixed problems with coordinates for color gapped alignment
------------------------------------------------------------------------
r878 | lh3 | 2009-03-01 13:43:09 -0500 (Sun, 01 Mar 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/bwase.c
M /branches/prog/bwa/cs2nt.c
M /branches/prog/bwa/main.c
* bwa-0.4.5-5
* added support for gapped color alignment
------------------------------------------------------------------------
r877 | lh3 | 2009-03-01 10:27:52 -0500 (Sun, 01 Mar 2009) | 2 lines
Changed paths:
M /branches/prog/bwa/Makefile
M /branches/prog/bwa/bwape.c
M /branches/prog/bwa/bwase.c
M /branches/prog/bwa/bwtaln.h
M /branches/prog/bwa/cs2nt.c
M /branches/prog/bwa/main.c
* convert cs read to nt read (for ungapped alignment only)
------------------------------------------------------------------------
r860 | lh3 | 2009-02-27 08:58:39 -0500 (Fri, 27 Feb 2009) | 2 lines
Changed paths:
M /branches/prog/bwa/Makefile
M /branches/prog/bwa/bwase.c
A /branches/prog/bwa/cs2nt.c
prepare to implement cs->nt conversion (have not yet...)
------------------------------------------------------------------------
r859 | lh3 | 2009-02-27 07:00:03 -0500 (Fri, 27 Feb 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/bntseq.c
M /branches/prog/bwa/bntseq.h
M /branches/prog/bwa/bwtindex.c
M /branches/prog/bwa/bwtmisc.c
M /branches/prog/bwa/main.c
M /branches/prog/bwa/main.h
* bwa-0.4.5-3
* generate color index from nucleotide fasta reference
------------------------------------------------------------------------
r857 | lh3 | 2009-02-26 10:22:58 -0500 (Thu, 26 Feb 2009) | 4 lines
Changed paths:
M /branches/prog/bwa/bwape.c
M /branches/prog/bwa/main.c
* bwa-0.4.5-2
* improved mapping quality a bit if one end falls in a tandem repeat
but the mate is unique.
------------------------------------------------------------------------
r856 | lh3 | 2009-02-26 10:02:29 -0500 (Thu, 26 Feb 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/bwape.c
M /branches/prog/bwa/bwtaln.h
M /branches/prog/bwa/main.c
* bwa-0.4.5-1
* make bwa work for SOLiD reads
------------------------------------------------------------------------
r828 | lh3 | 2009-02-18 17:36:41 -0500 (Wed, 18 Feb 2009) | 2 lines
Changed paths:
M /branches/prog/bwa/ChangeLog
M /branches/prog/bwa/NEWS
M /branches/prog/bwa/bwa.1
M /branches/prog/bwa/main.c
Release bwa-0.4.5
------------------------------------------------------------------------
r827 | lh3 | 2009-02-18 16:48:48 -0500 (Wed, 18 Feb 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/main.c
M /branches/prog/bwa/stdaln.c
M /branches/prog/bwa/stdaln.h
* bwa-0.4.4-6
* fixed a bug in SW alignment when no residue matches
------------------------------------------------------------------------
r824 | lh3 | 2009-02-17 05:33:07 -0500 (Tue, 17 Feb 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/bwape.c
M /branches/prog/bwa/main.c
* bwa-0.4.4-5
* fixed that bounary bug
------------------------------------------------------------------------
r823 | lh3 | 2009-02-17 04:54:18 -0500 (Tue, 17 Feb 2009) | 2 lines
Changed paths:
M /branches/prog/bwa/ChangeLog
M /branches/prog/bwa/bwape.c
just change some logging information
------------------------------------------------------------------------
r822 | lh3 | 2009-02-17 04:20:39 -0500 (Tue, 17 Feb 2009) | 2 lines
Changed paths:
M /branches/prog/bwa/bwa.1
update manual
------------------------------------------------------------------------
r821 | lh3 | 2009-02-17 04:11:14 -0500 (Tue, 17 Feb 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/bwape.c
M /branches/prog/bwa/bwase.c
M /branches/prog/bwa/main.c
* bwa-0.4.4-4
* fixed a bug on boundary check in pair_sw
------------------------------------------------------------------------
r820 | lh3 | 2009-02-16 17:43:37 -0500 (Mon, 16 Feb 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/main.c
* bwa-0.4.4-3
* allow to change mismatch penalty
------------------------------------------------------------------------
r819 | lh3 | 2009-02-16 17:40:28 -0500 (Mon, 16 Feb 2009) | 4 lines
Changed paths:
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/main.c
* bwa-0.4.4-2
* remove timer
* allow to change default gapo and gape penalty at the command line
------------------------------------------------------------------------
r818 | lh3 | 2009-02-16 09:30:51 -0500 (Mon, 16 Feb 2009) | 2 lines
Changed paths:
M /branches/prog/bwa/bwa.1
update benchmark
------------------------------------------------------------------------
r817 | lh3 | 2009-02-16 08:44:40 -0500 (Mon, 16 Feb 2009) | 4 lines
Changed paths:
M /branches/prog/bwa/bwape.c
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/kvec.h
M /branches/prog/bwa/main.c
* bwa-0.4.4-1
* automatically detect insert size
* use insert size in pairing. This may potentially improve accuracy (untested!)
------------------------------------------------------------------------
r814 | lh3 | 2009-02-15 11:10:23 -0500 (Sun, 15 Feb 2009) | 2 lines
Changed paths:
M /branches/prog/bwa/ChangeLog
M /branches/prog/bwa/NEWS
M /branches/prog/bwa/main.c
Release bwa-0.4.4
------------------------------------------------------------------------
r813 | lh3 | 2009-02-15 10:22:50 -0500 (Sun, 15 Feb 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/bwa.1
M /branches/prog/bwa/bwase.c
M /branches/prog/bwa/main.c
* bwa-0.4.3-5
* impose boundary check in refine_gapped
------------------------------------------------------------------------
r811 | lh3 | 2009-02-14 09:46:13 -0500 (Sat, 14 Feb 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/bwase.c
M /branches/prog/bwa/main.c
* bwa-0.4.3-4
* change MD tag to match the latest SAM specification
------------------------------------------------------------------------
r810 | lh3 | 2009-02-13 04:46:04 -0500 (Fri, 13 Feb 2009) | 2 lines
Changed paths:
M /branches/prog/bwa/ChangeLog
update ChangeLog
------------------------------------------------------------------------
r799 | lh3 | 2009-02-05 12:01:17 -0500 (Thu, 05 Feb 2009) | 2 lines
Changed paths:
M /branches/prog/bwa/bwase.c
M /branches/prog/bwa/main.c
change MD tag to meet the latest SAM specification
------------------------------------------------------------------------
r796 | lh3 | 2009-02-05 08:35:13 -0500 (Thu, 05 Feb 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/bntseq.c
M /branches/prog/bwa/bwase.c
M /branches/prog/bwa/main.c
* bwa-0.4.3-2
* fixed a bug on counting 'N'
------------------------------------------------------------------------
r795 | lh3 | 2009-02-05 07:41:27 -0500 (Thu, 05 Feb 2009) | 4 lines
Changed paths:
M /branches/prog/bwa/bwa.1
M /branches/prog/bwa/bwape.c
M /branches/prog/bwa/main.c
* bwa-0.4.3-1
* fixed potential boundary problems
* update benchmark result
------------------------------------------------------------------------
r791 | lh3 | 2009-01-25 05:20:47 -0500 (Sun, 25 Jan 2009) | 2 lines
Changed paths:
M /branches/prog/bwa/bwa.1
update some numbers
------------------------------------------------------------------------
r790 | lh3 | 2009-01-24 15:13:03 -0500 (Sat, 24 Jan 2009) | 2 lines
Changed paths:
M /branches/prog/bwa/bwa.1
update benchmark
------------------------------------------------------------------------
r789 | lh3 | 2009-01-22 10:18:44 -0500 (Thu, 22 Jan 2009) | 2 lines
Changed paths:
M /branches/prog/bwa/bwtindex.c
a warning message for index
------------------------------------------------------------------------
r788 | lh3 | 2009-01-22 09:54:06 -0500 (Thu, 22 Jan 2009) | 2 lines
Changed paths:
M /branches/prog/bwa/main.c
forget to change release number
------------------------------------------------------------------------
r786 | lh3 | 2009-01-22 06:27:39 -0500 (Thu, 22 Jan 2009) | 2 lines
Changed paths:
M /branches/prog/bwa/NEWS
Release bwa-0.4.3
------------------------------------------------------------------------
r785 | lh3 | 2009-01-22 06:27:16 -0500 (Thu, 22 Jan 2009) | 2 lines
Changed paths:
M /branches/prog/bwa/ChangeLog
M /branches/prog/bwa/NEWS
Release bwa-0.4.3
------------------------------------------------------------------------
r784 | lh3 | 2009-01-22 06:19:59 -0500 (Thu, 22 Jan 2009) | 4 lines
Changed paths:
M /branches/prog/bwa/bwa.1
M /branches/prog/bwa/bwase.c
M /branches/prog/bwa/main.c
* bwa-0.4.2-10
* update documentation
* fixed a bug on generating MD tags for SW alignment
------------------------------------------------------------------------
r782 | lh3 | 2009-01-19 12:08:38 -0500 (Mon, 19 Jan 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/bwase.c
M /branches/prog/bwa/main.c
* bwa-0.4.2-9
* fixed a bug in samse -n...
------------------------------------------------------------------------
r781 | lh3 | 2009-01-19 11:26:37 -0500 (Mon, 19 Jan 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/main.c
* bwa-0.4.2-8
* given -N, the previous version would stop if the top hit is a repeat. Now changed.
------------------------------------------------------------------------
r780 | lh3 | 2009-01-19 11:20:18 -0500 (Mon, 19 Jan 2009) | 4 lines
Changed paths:
M /branches/prog/bwa/bwape.c
M /branches/prog/bwa/bwase.c
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/bwtaln.h
M /branches/prog/bwa/bwtgap.c
M /branches/prog/bwa/main.c
* bwa-0.4.2-7
* use a bit-wise flag to replace some member variables in the option struct
* allow to switch off the iterative strategy
------------------------------------------------------------------------
r779 | lh3 | 2009-01-19 10:45:57 -0500 (Mon, 19 Jan 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/bwa.1
M /branches/prog/bwa/bwase.c
M /branches/prog/bwa/main.c
* bwa-0.4.2-6
* allow to dump multiple hits from samse, in another format, though
------------------------------------------------------------------------
r778 | lh3 | 2009-01-19 06:24:29 -0500 (Mon, 19 Jan 2009) | 5 lines
Changed paths:
M /branches/prog/bwa/Makefile
M /branches/prog/bwa/bwape.c
M /branches/prog/bwa/bwase.c
M /branches/prog/bwa/bwaseqio.c
M /branches/prog/bwa/bwtaln.h
M /branches/prog/bwa/kseq.h
A /branches/prog/bwa/kstring.c
A /branches/prog/bwa/kstring.h
M /branches/prog/bwa/main.c
M /branches/prog/bwa/simple_dp.c
* bwa-0.4.2-5
* update kseq.h to the latest version
* generate MD tag
* print mate coordinate if only one end is unmapped
------------------------------------------------------------------------
r775 | lh3 | 2009-01-18 05:40:35 -0500 (Sun, 18 Jan 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/bwase.c
M /branches/prog/bwa/main.c
* bwa-0.4.2-4
* fixed a bug for SAM format
------------------------------------------------------------------------
r774 | lh3 | 2009-01-17 13:48:52 -0500 (Sat, 17 Jan 2009) | 4 lines
Changed paths:
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/main.c
* bwa-0.4.2-3
* change default fnr to 0.04
* print max_diff for valid fnr
------------------------------------------------------------------------
r773 | lh3 | 2009-01-17 05:54:37 -0500 (Sat, 17 Jan 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/bwape.c
M /branches/prog/bwa/bwase.c
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/bwtaln.h
M /branches/prog/bwa/main.c
* bwa-0.4.2-2
* automatically choose max_diff
------------------------------------------------------------------------
r772 | lh3 | 2009-01-16 18:16:14 -0500 (Fri, 16 Jan 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/bwaseqio.c
M /branches/prog/bwa/bwt.c
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/bwtaln.h
M /branches/prog/bwa/bwtgap.c
M /branches/prog/bwa/main.c
* bwa-0.4.2-1
* take N as a mismatch
------------------------------------------------------------------------
r768 | lh3 | 2009-01-09 11:57:23 -0500 (Fri, 09 Jan 2009) | 2 lines
Changed paths:
M /branches/prog/bwa/ChangeLog
M /branches/prog/bwa/NEWS
M /branches/prog/bwa/bntseq.c
M /branches/prog/bwa/main.c
Release bwa-0.4.2
------------------------------------------------------------------------
r759 | lh3 | 2009-01-07 09:55:43 -0500 (Wed, 07 Jan 2009) | 2 lines
Changed paths:
M /branches/prog/bwa/ChangeLog
M /branches/prog/bwa/NEWS
M /branches/prog/bwa/bwa.1
M /branches/prog/bwa/bwape.c
M /branches/prog/bwa/bwtaln.h
M /branches/prog/bwa/main.c
Release bwa-0.4.1
------------------------------------------------------------------------
r758 | lh3 | 2009-01-07 05:36:06 -0500 (Wed, 07 Jan 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/bwape.c
M /branches/prog/bwa/bwase.c
M /branches/prog/bwa/bwtaln.h
M /branches/prog/bwa/main.c
* bwa-0.4.0-2
* make mate_sw fully working
------------------------------------------------------------------------
r757 | lh3 | 2009-01-06 18:04:29 -0500 (Tue, 06 Jan 2009) | 5 lines
Changed paths:
M /branches/prog/bwa/bwape.c
M /branches/prog/bwa/bwase.c
M /branches/prog/bwa/bwaseqio.c
M /branches/prog/bwa/bwtaln.h
M /branches/prog/bwa/main.c
* bwa-0.4.0-1
* do SW alignment for unmapped mate. It is working.
* I still need to do some extra work for SW alignment, but it is too late
and I am getting tired... I will do tomorrow.
------------------------------------------------------------------------
r755 | lh3 | 2009-01-06 10:23:29 -0500 (Tue, 06 Jan 2009) | 2 lines
Changed paths:
M /branches/prog/bwa/ChangeLog
M /branches/prog/bwa/NEWS
M /branches/prog/bwa/bwa.1
M /branches/prog/bwa/main.c
Release bwa-0.4.0
------------------------------------------------------------------------
r754 | lh3 | 2009-01-06 07:45:02 -0500 (Tue, 06 Jan 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/bwtgap.c
M /branches/prog/bwa/bwtgap.h
M /branches/prog/bwa/main.c
* bwa-0.3.0-12
* better lock
------------------------------------------------------------------------
r753 | lh3 | 2009-01-06 06:17:21 -0500 (Tue, 06 Jan 2009) | 5 lines
Changed paths:
M /branches/prog/bwa/Makefile
M /branches/prog/bwa/bwaseqio.c
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/bwtaln.h
M /branches/prog/bwa/bwtgap.c
M /branches/prog/bwa/main.c
* bwa-0.3.0-11
* fixed a small memory leak in bwa_seq_close()
* fixed "uninitialized memory" from bwt_aln1_t
* multithreading for "aln" command
------------------------------------------------------------------------
r752 | lh3 | 2009-01-05 17:34:13 -0500 (Mon, 05 Jan 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/Makefile
D /branches/prog/bwa/bwt2fmv.c
M /branches/prog/bwa/bwt_gen/bwt_gen.c
A /branches/prog/bwa/bwtmisc.c (from /branches/prog/bwa/pac2bwt.c:748)
M /branches/prog/bwa/main.c
M /branches/prog/bwa/main.h
D /branches/prog/bwa/pac2bwt.c
* bwa-0.3.0-10
* a little bit code clean up
------------------------------------------------------------------------
r751 | lh3 | 2009-01-05 17:19:04 -0500 (Mon, 05 Jan 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/bwt.c
M /branches/prog/bwa/main.c
* bwa-0.3.0-9
* use 64-bit integer to speed up Occ calculate, although just a little bit
------------------------------------------------------------------------
r750 | lh3 | 2009-01-05 16:44:26 -0500 (Mon, 05 Jan 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/bwt.c
M /branches/prog/bwa/main.c
* bwa-0.3.0-8
* a little bit code cleanup
------------------------------------------------------------------------
r749 | lh3 | 2009-01-05 16:37:28 -0500 (Mon, 05 Jan 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/bwt.c
M /branches/prog/bwa/main.c
* bwa-0.1.0-7
* accelerate Occ calculation
------------------------------------------------------------------------
r748 | lh3 | 2009-01-05 16:12:28 -0500 (Mon, 05 Jan 2009) | 4 lines
Changed paths:
M /branches/prog/bwa/bwape.c
M /branches/prog/bwa/bwase.c
M /branches/prog/bwa/bwt.c
M /branches/prog/bwa/bwt.h
M /branches/prog/bwa/bwt2fmv.c
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/bwtindex.c
M /branches/prog/bwa/bwtio.c
M /branches/prog/bwa/main.c
M /branches/prog/bwa/main.h
M /branches/prog/bwa/pac2bwt.c
* bwa-0.3.0-6
* put occ table along with bwt to save another cache miss
* this version is already faster than the previous and I can still improve it...
------------------------------------------------------------------------
r747 | lh3 | 2009-01-05 10:16:18 -0500 (Mon, 05 Jan 2009) | 5 lines
Changed paths:
M /branches/prog/bwa/bwt.c
M /branches/prog/bwa/bwt.h
M /branches/prog/bwa/bwtio.c
M /branches/prog/bwa/main.c
* bwa-0.3.0-5
* remove occ_major to save a cache miss; however, OCC_INTERVAL has to be
increased to keep the same memory. As a result, the speed is a little
slower in fact.
------------------------------------------------------------------------
r746 | lh3 | 2009-01-05 09:50:53 -0500 (Mon, 05 Jan 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/bwt.c
M /branches/prog/bwa/main.c
* bwa-0.3.0-4
* added back optimization codes (it is a pain...)
------------------------------------------------------------------------
r745 | lh3 | 2009-01-05 08:23:00 -0500 (Mon, 05 Jan 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/bwt.c
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/main.c
* bwa-0.3.0-3
* faster bit operations
------------------------------------------------------------------------
r744 | lh3 | 2009-01-05 05:58:46 -0500 (Mon, 05 Jan 2009) | 4 lines
Changed paths:
M /branches/prog/bwa/bwt.c
M /branches/prog/bwa/main.c
* bwa-0.3.0-2
* removed optimization codes again...
* use a new method to count the bits
------------------------------------------------------------------------
r743 | lh3 | 2009-01-04 17:18:38 -0500 (Sun, 04 Jan 2009) | 5 lines
Changed paths:
M /branches/prog/bwa/bwa.1
M /branches/prog/bwa/bwt.c
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/bwtaln.h
M /branches/prog/bwa/bwtgap.c
M /branches/prog/bwa/main.c
* bwa-0.3.0-1
* added back the optimization codes
* added a new option to aln: max_entries, although this is disabled by default
* updated benchmark
------------------------------------------------------------------------
r742 | lh3 | 2009-01-04 07:56:12 -0500 (Sun, 04 Jan 2009) | 2 lines
Changed paths:
M /branches/prog/bwa/bwa.1
add URL
------------------------------------------------------------------------
r740 | lh3 | 2009-01-04 07:39:43 -0500 (Sun, 04 Jan 2009) | 2 lines
Changed paths:
M /branches/prog/bwa/ChangeLog
M /branches/prog/bwa/NEWS
M /branches/prog/bwa/bwa.1
M /branches/prog/bwa/main.c
Release bwa-0.3.0
------------------------------------------------------------------------
r739 | lh3 | 2009-01-04 06:55:06 -0500 (Sun, 04 Jan 2009) | 2 lines
Changed paths:
A /branches/prog/bwa/COPYING
M /branches/prog/bwa/ChangeLog
M /branches/prog/bwa/bntseq.c
M /branches/prog/bwa/bntseq.h
M /branches/prog/bwa/bwa.1
M /branches/prog/bwa/bwt.c
M /branches/prog/bwa/bwt.h
M /branches/prog/bwa/bwtindex.c
M /branches/prog/bwa/utils.c
M /branches/prog/bwa/utils.h
added licensing information
------------------------------------------------------------------------
r738 | lh3 | 2009-01-04 06:18:25 -0500 (Sun, 04 Jan 2009) | 4 lines
Changed paths:
M /branches/prog/bwa/bwa.1
M /branches/prog/bwa/bwape.c
M /branches/prog/bwa/main.c
* bwa-0.2.0-31
* better mapping quality
* update benchmark
------------------------------------------------------------------------
r737 | lh3 | 2009-01-03 16:00:58 -0500 (Sat, 03 Jan 2009) | 2 lines
Changed paths:
M /branches/prog/bwa/ChangeLog
M /branches/prog/bwa/bwa.1
update documentation
------------------------------------------------------------------------
r736 | lh3 | 2009-01-02 10:26:38 -0500 (Fri, 02 Jan 2009) | 2 lines
Changed paths:
M /branches/prog/bwa/bwa.1
update documentation
------------------------------------------------------------------------
r735 | lh3 | 2009-01-02 07:10:20 -0500 (Fri, 02 Jan 2009) | 4 lines
Changed paths:
M /branches/prog/bwa/bwa.1
M /branches/prog/bwa/bwape.c
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/main.c
* bwa-0.2.0-30
* reduce memory a little bit
* update documentation
------------------------------------------------------------------------
r734 | lh3 | 2009-01-01 13:45:45 -0500 (Thu, 01 Jan 2009) | 8 lines
Changed paths:
M /branches/prog/bwa/bwa.1
M /branches/prog/bwa/bwape.c
M /branches/prog/bwa/bwase.c
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/bwtaln.h
M /branches/prog/bwa/bwtgap.c
M /branches/prog/bwa/main.c
* bwa-0.2.0-29
* sampe: removed -O option; changed default -o to 100000
* sampe: fixed a bug in calculating paired mapping quality
* aln: added an option to search for suboptimal hits even if the best is a repeat.
This option will make sampe MUCH SLOWER.
* sampe: set isize as zero if mapped to two different chr
* update manual (unfinished)
------------------------------------------------------------------------
r733 | lh3 | 2009-01-01 11:01:20 -0500 (Thu, 01 Jan 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/bwape.c
M /branches/prog/bwa/main.c
* bwa-0.2.0-28
* fixed a bug in calculating paired mapping quality
------------------------------------------------------------------------
r732 | lh3 | 2009-01-01 09:27:46 -0500 (Thu, 01 Jan 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/bwape.c
A /branches/prog/bwa/khash.h (from /branches/prog/sclib/khash/khash.h:675)
M /branches/prog/bwa/main.c
* bwa-0.2.0-27
* accelerate sampe by storing visited large intervals
------------------------------------------------------------------------
r731 | lh3 | 2009-01-01 06:51:21 -0500 (Thu, 01 Jan 2009) | 3 lines
Changed paths:
M /branches/prog/bwa/bwt.c
M /branches/prog/bwa/main.c
* bwa-0.2.0-26
* remove the optimation codes
------------------------------------------------------------------------
r730 | lh3 | 2009-01-01 06:48:59 -0500 (Thu, 01 Jan 2009) | 4 lines
Changed paths:
M /branches/prog/bwa/bwt.c
M /branches/prog/bwa/main.c
* bwa-0.2.0-25
* accelerate OCC calculation by ~7%. However, it seems not worth doing
this by complicate the codes. I will change back later.
------------------------------------------------------------------------
r729 | lh3 | 2008-12-31 16:43:56 -0500 (Wed, 31 Dec 2008) | 6 lines
Changed paths:
M /branches/prog/bwa/bntseq.c
M /branches/prog/bwa/bwape.c
M /branches/prog/bwa/bwase.c
M /branches/prog/bwa/main.c
* bwa-0.2.0-24
* change command "sai2sam_pe" to "sampe"
* print usage for sampe command
* in sampe: change default max_occ to 1000
* fixed a few compiling warnings in bntseq.c
------------------------------------------------------------------------
r728 | lh3 | 2008-12-27 07:14:59 -0500 (Sat, 27 Dec 2008) | 3 lines
Changed paths:
M /branches/prog/bwa/bwape.c
M /branches/prog/bwa/bwase.c
M /branches/prog/bwa/main.c
* bwa-0.2.0-22
* mating information can be printed to SAM
------------------------------------------------------------------------
r727 | lh3 | 2008-12-26 18:10:59 -0500 (Fri, 26 Dec 2008) | 4 lines
Changed paths:
M /branches/prog/bwa/bwape.c
M /branches/prog/bwa/bwase.c
M /branches/prog/bwa/bwaseqio.c
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/bwtaln.h
M /branches/prog/bwa/main.c
* bwa-0.2.0-21
* implement pairing (still UNFINISHED)
* output all reads even if full of N
------------------------------------------------------------------------
r726 | lh3 | 2008-12-26 13:31:27 -0500 (Fri, 26 Dec 2008) | 5 lines
Changed paths:
M /branches/prog/bwa/Makefile
A /branches/prog/bwa/bwape.c
M /branches/prog/bwa/bwase.c
M /branches/prog/bwa/bwt2fmv.c
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/bwtaln.h
M /branches/prog/bwa/bwtgap.c
M /branches/prog/bwa/main.c
M /branches/prog/bwa/main.h
* bwa-0.2.0-20
* remove "-t" from aln cmd
* code clean up: move some functions in bwt2fmv.c to other source files
* added sai2sam_pe cmd: *UNFINISHED*
------------------------------------------------------------------------
r725 | lh3 | 2008-12-26 07:04:11 -0500 (Fri, 26 Dec 2008) | 3 lines
Changed paths:
M /branches/prog/bwa/Makefile
A /branches/prog/bwa/bwase.c
A /branches/prog/bwa/bwaseqio.c
M /branches/prog/bwa/bwt2fmv.c
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/bwtaln.h
M /branches/prog/bwa/bwtgap.c
M /branches/prog/bwa/kseq.h
A /branches/prog/bwa/ksort.h (from /branches/prog/sclib/ksort/ksort.h:712)
A /branches/prog/bwa/kvec.h (from /branches/prog/sclib/kvec/kvec.h:537)
M /branches/prog/bwa/main.c
* bwa-0.2.0-19
* considerable code cleanup; no actual changes
------------------------------------------------------------------------
r724 | lh3 | 2008-12-25 11:32:11 -0500 (Thu, 25 Dec 2008) | 3 lines
Changed paths:
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/bwtaln.h
M /branches/prog/bwa/main.c
* bwa-0.2.0-18
* generate SAM output
------------------------------------------------------------------------
r723 | lh3 | 2008-12-25 10:48:31 -0500 (Thu, 25 Dec 2008) | 4 lines
Changed paths:
M /branches/prog/bwa/bwt2fmv.c
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/main.c
M /branches/prog/bwa/main.h
* bwa-0.2.0-17
* remove bwtsw2 related codes
* separate searching for SA interval from generating alignments
------------------------------------------------------------------------
r722 | lh3 | 2008-12-25 08:57:13 -0500 (Thu, 25 Dec 2008) | 3 lines
Changed paths:
M /branches/prog/bwa/Makefile
M /branches/prog/bwa/bwt2fmv.c
D /branches/prog/bwa/bwt_lite.c
D /branches/prog/bwa/bwt_lite.h
M /branches/prog/bwa/bwtgap.c
D /branches/prog/bwa/bwtsw2.h
D /branches/prog/bwa/bwtsw2_aux.c
D /branches/prog/bwa/bwtsw2_core.c
D /branches/prog/bwa/bwtsw2_main.c
D /branches/prog/bwa/khash.h
D /branches/prog/bwa/ksort.h
D /branches/prog/bwa/kvec.h
M /branches/prog/bwa/main.c
* added interface to "aln -t"
* remove bwtsw2 related codes
------------------------------------------------------------------------
r666 | lh3 | 2008-11-18 18:34:29 -0500 (Tue, 18 Nov 2008) | 4 lines
Changed paths:
M /branches/prog/bwa/bwt2fmv.c
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/bwtaln.h
M /branches/prog/bwa/main.c
* bwa-0.2.0-16
* allow to set max mismatches based on read length, but I do not know
whether this really works
------------------------------------------------------------------------
r665 | lh3 | 2008-11-18 08:34:03 -0500 (Tue, 18 Nov 2008) | 3 lines
Changed paths:
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/main.c
* bwa-0.2.0-15
* fixed a bug in sequence parser.
------------------------------------------------------------------------
r612 | lh3 | 2008-10-28 06:50:53 -0400 (Tue, 28 Oct 2008) | 3 lines
Changed paths:
M /branches/prog/bwa/bntseq.c
M /branches/prog/bwa/bwtindex.c
M /branches/prog/bwa/main.c
M /branches/prog/bwa/utils.c
* bwa-0.2.0-14
* fixed a bug caused by the change of the FASTA/Q parser
------------------------------------------------------------------------
r611 | lh3 | 2008-10-28 06:24:56 -0400 (Tue, 28 Oct 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/Makefile
M /branches/prog/bwa/bntseq.c
M /branches/prog/bwa/bntseq.h
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/bwtsw2_core.c
A /branches/prog/bwa/kseq.h
D /branches/prog/bwa/seq.c
D /branches/prog/bwa/seq.h
M /branches/prog/bwa/simple_dp.c
M /branches/prog/bwa/utils.c
M /branches/prog/bwa/utils.h
replace seq.* with kseq.h
------------------------------------------------------------------------
r610 | lh3 | 2008-10-27 13:00:04 -0400 (Mon, 27 Oct 2008) | 3 lines
Changed paths:
M /branches/prog/bwa/bwtsw2.h
M /branches/prog/bwa/bwtsw2_aux.c
M /branches/prog/bwa/bwtsw2_core.c
M /branches/prog/bwa/main.c
* bwa-0.2.0-13
* make bwtsw2 output sub-optimal hits. not completed
------------------------------------------------------------------------
r609 | lh3 | 2008-10-24 16:52:00 -0400 (Fri, 24 Oct 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/kvec.h
little...
------------------------------------------------------------------------
r532 | lh3 | 2008-09-19 05:28:45 -0400 (Fri, 19 Sep 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/bwtsw2_core.c
M /branches/prog/bwa/khash.h
improve interface of khash
------------------------------------------------------------------------
r531 | lh3 | 2008-09-18 06:52:59 -0400 (Thu, 18 Sep 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/bwtsw2_core.c
improve minor things, which make bwtsw2 slower, but should miss less true hits
------------------------------------------------------------------------
r530 | lh3 | 2008-09-17 18:19:26 -0400 (Wed, 17 Sep 2008) | 3 lines
Changed paths:
M /branches/prog/bwa/bwtsw2_core.c
* fixed a bug in calculating ->D
* enforce band-width checking
------------------------------------------------------------------------
r529 | lh3 | 2008-09-17 18:06:49 -0400 (Wed, 17 Sep 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/bwtsw2_core.c
delete a line of code that is never visited
------------------------------------------------------------------------
r528 | lh3 | 2008-09-17 17:58:51 -0400 (Wed, 17 Sep 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/bwtsw2_core.c
a bit code clean up
------------------------------------------------------------------------
r527 | lh3 | 2008-09-17 10:55:45 -0400 (Wed, 17 Sep 2008) | 3 lines
Changed paths:
M /branches/prog/bwa/bwtsw2_core.c
M /branches/prog/bwa/bwtsw2_main.c
M /branches/prog/bwa/main.c
* bwa-0.2.0-12
* max-depth can be set, although it does not help the speed at all
------------------------------------------------------------------------
r526 | lh3 | 2008-09-16 17:59:36 -0400 (Tue, 16 Sep 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/bwtsw2_core.c
cut_tail after remove duplicate
------------------------------------------------------------------------
r525 | lh3 | 2008-09-16 17:56:11 -0400 (Tue, 16 Sep 2008) | 3 lines
Changed paths:
M /branches/prog/bwa/bwtsw2.h
M /branches/prog/bwa/bwtsw2_aux.c
M /branches/prog/bwa/bwtsw2_core.c
M /branches/prog/bwa/bwtsw2_main.c
M /branches/prog/bwa/khash.h
M /branches/prog/bwa/main.c
* bwa-0.2.0-11
* improved cut_tail()
------------------------------------------------------------------------
r524 | lh3 | 2008-09-15 16:53:22 -0400 (Mon, 15 Sep 2008) | 3 lines
Changed paths:
M /branches/prog/bwa/bwtsw2_aux.c
M /branches/prog/bwa/bwtsw2_core.c
M /branches/prog/bwa/bwtsw2_main.c
M /branches/prog/bwa/main.c
* bwa-0.2.0-10
* fixed a bug in cut_tail()
------------------------------------------------------------------------
r518 | lh3 | 2008-09-15 04:35:59 -0400 (Mon, 15 Sep 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/bwtsw2_core.c
a bit code clean up
------------------------------------------------------------------------
r517 | lh3 | 2008-09-14 18:18:11 -0400 (Sun, 14 Sep 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/bwtsw2_core.c
improve speed (<1%)
------------------------------------------------------------------------
r516 | lh3 | 2008-09-14 18:08:55 -0400 (Sun, 14 Sep 2008) | 3 lines
Changed paths:
M /branches/prog/bwa/bwtsw2_core.c
* fixed two potential bugs, although I have not seen their effects
* improve speed a bit (<2%)
------------------------------------------------------------------------
r515 | lh3 | 2008-09-14 17:26:49 -0400 (Sun, 14 Sep 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/bwtsw2_core.c
M /branches/prog/bwa/bwtsw2_main.c
nothing, really
------------------------------------------------------------------------
r514 | lh3 | 2008-09-14 17:10:13 -0400 (Sun, 14 Sep 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/bwtsw2_core.c
disable X-drop, which has to be reimplemented in the current algorithm
------------------------------------------------------------------------
r513 | lh3 | 2008-09-14 16:49:42 -0400 (Sun, 14 Sep 2008) | 4 lines
Changed paths:
M /branches/prog/bwa/bwt_lite.c
M /branches/prog/bwa/bwt_lite.h
M /branches/prog/bwa/bwtsw2_core.c
M /branches/prog/bwa/bwtsw2_main.c
* temporarily disable cut_tail()
* calculate SA in bwt_lite.c
* fixed a bug in reversing the sequence
------------------------------------------------------------------------
r512 | lh3 | 2008-09-13 17:35:40 -0400 (Sat, 13 Sep 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/bwtsw2.h
M /branches/prog/bwa/bwtsw2_aux.c
M /branches/prog/bwa/bwtsw2_core.c
M /branches/prog/bwa/bwtsw2_main.c
A /branches/prog/bwa/ksort.h
n-best method
------------------------------------------------------------------------
r507 | lh3 | 2008-09-13 09:06:54 -0400 (Sat, 13 Sep 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/Makefile
M /branches/prog/bwa/bwtsw2_core.c
give correct result again
------------------------------------------------------------------------
r506 | lh3 | 2008-09-13 08:12:07 -0400 (Sat, 13 Sep 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/bwtsw2_core.c
I think I know the reason. It needs more work...
------------------------------------------------------------------------
r505 | lh3 | 2008-09-13 06:20:43 -0400 (Sat, 13 Sep 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/Makefile
M /branches/prog/bwa/bwtsw2_core.c
fixed another bug, but still have
------------------------------------------------------------------------
r504 | lh3 | 2008-09-12 18:13:37 -0400 (Fri, 12 Sep 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/bwtsw2_core.c
fixed another bug
------------------------------------------------------------------------
r503 | lh3 | 2008-09-12 17:15:56 -0400 (Fri, 12 Sep 2008) | 3 lines
Changed paths:
M /branches/prog/bwa/bwtsw2_core.c
M /branches/prog/bwa/khash.h
* do not segfault, but the result is WRONG!
* prepare to remove bsw2_connectivity_check()
------------------------------------------------------------------------
r502 | lh3 | 2008-09-12 15:52:41 -0400 (Fri, 12 Sep 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/bwtsw2_core.c
M /branches/prog/bwa/kvec.h
more revisions
------------------------------------------------------------------------
r501 | lh3 | 2008-09-11 18:06:15 -0400 (Thu, 11 Sep 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/bwtsw2_core.c
further simply codes with kvec.h
------------------------------------------------------------------------
r500 | lh3 | 2008-09-11 17:42:15 -0400 (Thu, 11 Sep 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/bwtsw2_core.c
part of revisions... have not finished
------------------------------------------------------------------------
r499 | lh3 | 2008-09-11 17:24:15 -0400 (Thu, 11 Sep 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/bwtsw2.h
M /branches/prog/bwa/bwtsw2_core.c
M /branches/prog/bwa/bwtsw2_main.c
M /branches/prog/bwa/khash.h
A /branches/prog/bwa/kvec.h
prepare for abrupt change
------------------------------------------------------------------------
r496 | lh3 | 2008-09-11 10:34:38 -0400 (Thu, 11 Sep 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/bwtsw2_core.c
fixed a bug; now "bwtsw2 -d" is useless
------------------------------------------------------------------------
r495 | lh3 | 2008-09-11 09:22:03 -0400 (Thu, 11 Sep 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/bwtsw2_core.c
M /branches/prog/bwa/simple_dp.c
M /branches/prog/bwa/stdaln.c
M /branches/prog/bwa/stdaln.h
improve speed a little bit
------------------------------------------------------------------------
r494 | lh3 | 2008-09-11 08:28:08 -0400 (Thu, 11 Sep 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/bwtsw2_core.c
remove debug codes
------------------------------------------------------------------------
r493 | lh3 | 2008-09-11 07:49:53 -0400 (Thu, 11 Sep 2008) | 3 lines
Changed paths:
M /branches/prog/bwa/bwtsw2_core.c
* improve the speed a little bit (<5%)
* prepare to remove BSW_DEBUG
------------------------------------------------------------------------
r492 | lh3 | 2008-09-11 06:15:56 -0400 (Thu, 11 Sep 2008) | 4 lines
Changed paths:
M /branches/prog/bwa/bwtsw2.h
M /branches/prog/bwa/bwtsw2_aux.c
M /branches/prog/bwa/bwtsw2_core.c
M /branches/prog/bwa/bwtsw2_main.c
M /branches/prog/bwa/main.c
* bwa-0.2.0-9
* support reverse strand
* fixed a bug that causes missing hits
------------------------------------------------------------------------
r491 | lh3 | 2008-09-11 05:46:16 -0400 (Thu, 11 Sep 2008) | 3 lines
Changed paths:
M /branches/prog/bwa/bwtsw2_core.c
M /branches/prog/bwa/main.c
* bwa-0.2.0-8
* better progress report
------------------------------------------------------------------------
r490 | lh3 | 2008-09-10 17:04:49 -0400 (Wed, 10 Sep 2008) | 4 lines
Changed paths:
M /branches/prog/bwa/bwtsw2.h
M /branches/prog/bwa/bwtsw2_aux.c
M /branches/prog/bwa/bwtsw2_core.c
M /branches/prog/bwa/bwtsw2_main.c
M /branches/prog/bwa/main.c
* bwa-0.2.0-7
* avoid some missing hits
* add maximum depth
------------------------------------------------------------------------
r489 | lh3 | 2008-09-10 11:51:13 -0400 (Wed, 10 Sep 2008) | 4 lines
Changed paths:
M /branches/prog/bwa/bwtsw2_core.c
M /branches/prog/bwa/main.c
* bwa-0.2.0-6
* bwtsw2 works although on the forward strand only for now
* better progress information
------------------------------------------------------------------------
r488 | lh3 | 2008-09-10 10:21:53 -0400 (Wed, 10 Sep 2008) | 3 lines
Changed paths:
M /branches/prog/bwa/bwtsw2_core.c
* implement memory pool
* avoid some rehashing
------------------------------------------------------------------------
r487 | lh3 | 2008-09-10 09:23:38 -0400 (Wed, 10 Sep 2008) | 3 lines
Changed paths:
M /branches/prog/bwa/bwtsw2.h
M /branches/prog/bwa/bwtsw2_aux.c
M /branches/prog/bwa/bwtsw2_main.c
* fixed a memory leak
* prepare to implement mempool
------------------------------------------------------------------------
r486 | lh3 | 2008-09-10 09:10:09 -0400 (Wed, 10 Sep 2008) | 4 lines
Changed paths:
M /branches/prog/bwa/bwtsw2.h
M /branches/prog/bwa/bwtsw2_aux.c
M /branches/prog/bwa/bwtsw2_core.c
M /branches/prog/bwa/bwtsw2_main.c
M /branches/prog/bwa/khash.h
* add X-dropoff
* remove duplicated results
* switch to simple stack
------------------------------------------------------------------------
r485 | lh3 | 2008-09-10 06:31:20 -0400 (Wed, 10 Sep 2008) | 3 lines
Changed paths:
M /branches/prog/bwa/bwtsw2.h
M /branches/prog/bwa/bwtsw2_aux.c
M /branches/prog/bwa/bwtsw2_core.c
M /branches/prog/bwa/bwtsw2_main.c
* check whether t-node has been visited
* prepare to remove two-level stack
------------------------------------------------------------------------
r484 | lh3 | 2008-09-10 05:00:57 -0400 (Wed, 10 Sep 2008) | 2 lines
Changed paths:
A /branches/prog/bwa/khash.h
khash library
------------------------------------------------------------------------
r483 | lh3 | 2008-09-10 04:22:53 -0400 (Wed, 10 Sep 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/bwtsw2_core.c
add inline
------------------------------------------------------------------------
r482 | lh3 | 2008-09-09 16:34:57 -0400 (Tue, 09 Sep 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/Makefile
M /branches/prog/bwa/bwtsw2_aux.c
M /branches/prog/bwa/bwtsw2_core.c
improve speed
------------------------------------------------------------------------
r481 | lh3 | 2008-09-09 13:13:00 -0400 (Tue, 09 Sep 2008) | 4 lines
Changed paths:
M /branches/prog/bwa/bwtsw2_core.c
Use a 128bit hash table to keep all (tk,tl,qk,ql). This is slow. Just
keep a copy in case I may need this in future.
------------------------------------------------------------------------
r480 | lh3 | 2008-09-09 12:53:32 -0400 (Tue, 09 Sep 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/bwtsw2.h
M /branches/prog/bwa/bwtsw2_core.c
* no principal modification
------------------------------------------------------------------------
r479 | lh3 | 2008-09-09 11:01:45 -0400 (Tue, 09 Sep 2008) | 4 lines
Changed paths:
M /branches/prog/bwa/Makefile
M /branches/prog/bwa/bwtsw2_core.c
* fixed a bug which may cause duplicated matching
* accelerate the speed a bit, although using hash in avoiding duplications
slows the speed down in the end
------------------------------------------------------------------------
r474 | lh3 | 2008-09-03 17:22:57 -0400 (Wed, 03 Sep 2008) | 4 lines
Changed paths:
M /branches/prog/bwa/Makefile
M /branches/prog/bwa/bwtsw2.h
M /branches/prog/bwa/bwtsw2_aux.c
M /branches/prog/bwa/bwtsw2_core.c
M /branches/prog/bwa/bwtsw2_main.c
M /branches/prog/bwa/main.c
* bwa-0.2.0-5
* indel seems to work on toy example
* add band
------------------------------------------------------------------------
r469 | lh3 | 2008-09-01 09:18:45 -0400 (Mon, 01 Sep 2008) | 3 lines
Changed paths:
M /branches/prog/bwa/ChangeLog
M /branches/prog/bwa/Makefile
M /branches/prog/bwa/bwt_lite.c
M /branches/prog/bwa/bwt_lite.h
M /branches/prog/bwa/bwtgap.c
M /branches/prog/bwa/bwtsw2.h
A /branches/prog/bwa/bwtsw2_aux.c
M /branches/prog/bwa/bwtsw2_core.c
M /branches/prog/bwa/bwtsw2_main.c
M /branches/prog/bwa/is.c
M /branches/prog/bwa/main.c
M /branches/prog/bwa/main.h
M /branches/prog/bwa/simple_dp.c
* bwa-0.2.0-4
* updated bwtsw2, which seems to work properly on toy examples
------------------------------------------------------------------------
r447 | lh3 | 2008-08-27 10:05:09 -0400 (Wed, 27 Aug 2008) | 3 lines
Changed paths:
M /branches/prog/bwa/bwt2fmv.c
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/bwtaln.h
M /branches/prog/bwa/bwtgap.c
M /branches/prog/bwa/main.c
* bwa-0.2.0-3
* tune for longer gaps, but it does not really work with kilo-bp gaps...
------------------------------------------------------------------------
r446 | lh3 | 2008-08-26 13:30:41 -0400 (Tue, 26 Aug 2008) | 3 lines
Changed paths:
M /branches/prog/bwa/bwt2fmv.c
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/bwtaln.h
M /branches/prog/bwa/bwtgap.c
M /branches/prog/bwa/main.c
* bwa-0.2.0-2
* changed the way to extend long deletions. Now use max_del_occ.
------------------------------------------------------------------------
r445 | lh3 | 2008-08-26 13:05:58 -0400 (Tue, 26 Aug 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/bwt_lite.c
M /branches/prog/bwa/bwt_lite.h
updated from bwtsw2_lite
------------------------------------------------------------------------
r436 | lh3 | 2008-08-23 12:28:44 -0400 (Sat, 23 Aug 2008) | 4 lines
Changed paths:
M /branches/prog/bwa/Makefile
M /branches/prog/bwa/bwt.h
A /branches/prog/bwa/bwt_lite.c
A /branches/prog/bwa/bwt_lite.h
A /branches/prog/bwa/bwtsw2.h
A /branches/prog/bwa/bwtsw2_core.c
A /branches/prog/bwa/bwtsw2_main.c
M /branches/prog/bwa/main.c
* bwa-0.2.0-1
* add bwt_lite: a light-weighted version of bwt (NOT TESTED!)
* add core codes for bwtsw2: NOT TESTED!!!
------------------------------------------------------------------------
r427 | lh3 | 2008-08-15 05:38:12 -0400 (Fri, 15 Aug 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/ChangeLog
M /branches/prog/bwa/NEWS
M /branches/prog/bwa/bwa.1
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/main.c
Release bwa-0.2.0
------------------------------------------------------------------------
r426 | lh3 | 2008-08-14 11:26:19 -0400 (Thu, 14 Aug 2008) | 4 lines
Changed paths:
M /branches/prog/bwa/bwt2fmv.c
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/bwtaln.h
M /branches/prog/bwa/main.c
* bwa-0.1.6-7
* change default seed length to 31
* add incomplete support to color sequences (not tested yet!)
------------------------------------------------------------------------
r425 | lh3 | 2008-08-14 06:23:11 -0400 (Thu, 14 Aug 2008) | 3 lines
Changed paths:
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/main.c
* bwa-0.1.6-6
* change default seed length to 33bp
------------------------------------------------------------------------
r424 | lh3 | 2008-08-14 05:55:33 -0400 (Thu, 14 Aug 2008) | 6 lines
Changed paths:
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/bwtgap.c
M /branches/prog/bwa/main.c
* bwa-0.1.6-5
* fixed a bug that may miss true alignments. this bugs exists in most
early versions.
* fixed a bug that yields wrong coordinates for reads mapped on the forward
strands with gaps.
------------------------------------------------------------------------
r423 | lh3 | 2008-08-14 04:07:28 -0400 (Thu, 14 Aug 2008) | 2 lines
Changed paths:
D /branches/prog/bwa/Makefile.div
useless
------------------------------------------------------------------------
r422 | lh3 | 2008-08-13 19:21:14 -0400 (Wed, 13 Aug 2008) | 4 lines
Changed paths:
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/main.c
* bwa-0.1.6-4
* fixed one bug
* there is another one...
------------------------------------------------------------------------
r421 | lh3 | 2008-08-13 18:23:33 -0400 (Wed, 13 Aug 2008) | 3 lines
Changed paths:
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/bwtaln.h
M /branches/prog/bwa/bwtgap.c
M /branches/prog/bwa/bwtgap.h
M /branches/prog/bwa/bwtindex.c
M /branches/prog/bwa/main.c
* bwa-0.1.6-3
* almost there, but not quite right
------------------------------------------------------------------------
r419 | lh3 | 2008-08-13 17:27:02 -0400 (Wed, 13 Aug 2008) | 3 lines
Changed paths:
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/bwtaln.h
M /branches/prog/bwa/bwtgap.c
M /branches/prog/bwa/bwtgap.h
M /branches/prog/bwa/main.c
* improve the seeding method
* prepare to load two BWTs into memory. A BIG change!
------------------------------------------------------------------------
r418 | lh3 | 2008-08-13 10:56:54 -0400 (Wed, 13 Aug 2008) | 3 lines
Changed paths:
M /branches/prog/bwa/bwt2fmv.c
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/bwtaln.h
M /branches/prog/bwa/bwtgap.c
M /branches/prog/bwa/bwtgap.h
M /branches/prog/bwa/main.c
* added seeding
* unfinished yet
------------------------------------------------------------------------
r413 | lh3 | 2008-08-08 11:48:35 -0400 (Fri, 08 Aug 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/ChangeLog
M /branches/prog/bwa/NEWS
M /branches/prog/bwa/main.c
Release bwa-0.1.6
------------------------------------------------------------------------
r410 | lh3 | 2008-08-06 15:48:22 -0400 (Wed, 06 Aug 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/simple_dp.c
sw: output alignment score
------------------------------------------------------------------------
r407 | lh3 | 2008-08-04 10:01:20 -0400 (Mon, 04 Aug 2008) | 4 lines
Changed paths:
M /branches/prog/bwa/Makefile
M /branches/prog/bwa/main.c
M /branches/prog/bwa/main.h
A /branches/prog/bwa/simple_dp.c
M /branches/prog/bwa/stdaln.c
M /branches/prog/bwa/stdaln.h
* bwa-0.1.5-3
* added a simple interface to SW/NW alignment
* stdaln-0.9.8 (see header for more details)
------------------------------------------------------------------------
r406 | lh3 | 2008-08-01 19:21:59 -0400 (Fri, 01 Aug 2008) | 3 lines
Changed paths:
M /branches/prog/bwa/Makefile
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/bwtaln.h
M /branches/prog/bwa/main.c
A /branches/prog/bwa/stdaln.c
A /branches/prog/bwa/stdaln.h
* bwa-0.1.5-2
* give accurate gap positions
------------------------------------------------------------------------
r405 | lh3 | 2008-08-01 19:06:19 -0400 (Fri, 01 Aug 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/Makefile
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/bwtaln.h
unfinished, but I am tired...
------------------------------------------------------------------------
r401 | lh3 | 2008-07-30 05:59:24 -0400 (Wed, 30 Jul 2008) | 4 lines
Changed paths:
M /branches/prog/bwa/bntseq.c
M /branches/prog/bwa/main.c
* bwa-0.1.5-1
* fixed a potential bug which may produce an alignment in N regions,
although extremely rare.
------------------------------------------------------------------------
r399 | lh3 | 2008-07-27 11:41:52 -0400 (Sun, 27 Jul 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/ChangeLog
M /branches/prog/bwa/NEWS
M /branches/prog/bwa/main.c
Release bwa-0.1.5
------------------------------------------------------------------------
r398 | lh3 | 2008-07-25 12:14:47 -0400 (Fri, 25 Jul 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/bwa.1
update documentation
------------------------------------------------------------------------
r397 | lh3 | 2008-07-25 09:58:56 -0400 (Fri, 25 Jul 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/bwt2fmv.c
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/main.c
*
------------------------------------------------------------------------
r396 | lh3 | 2008-07-25 06:42:01 -0400 (Fri, 25 Jul 2008) | 3 lines
Changed paths:
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/main.c
* bwa-0.1.4-4
* add timer for debugging
------------------------------------------------------------------------
r395 | lh3 | 2008-07-24 05:46:21 -0400 (Thu, 24 Jul 2008) | 4 lines
Changed paths:
M /branches/prog/bwa/bwtgap.c
M /branches/prog/bwa/main.c
* bwa-0.1.4-3
* fixed a bug in the previous code
* this version gives identical result to bwa-0.1.4, just 10% faster
------------------------------------------------------------------------
r394 | lh3 | 2008-07-24 05:18:53 -0400 (Thu, 24 Jul 2008) | 4 lines
Changed paths:
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/bwtgap.c
M /branches/prog/bwa/bwtgap.h
M /branches/prog/bwa/main.c
* bwa-0.1.4-2
* further improve the speed
* The result is slightly different from bwa-0.1.4 now. I need to check...
------------------------------------------------------------------------
r393 | lh3 | 2008-07-23 12:04:16 -0400 (Wed, 23 Jul 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/bwt.c
comments only
------------------------------------------------------------------------
r392 | lh3 | 2008-07-23 10:34:03 -0400 (Wed, 23 Jul 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/bwt.c
M /branches/prog/bwa/main.c
further improve the speed in Occ functions
------------------------------------------------------------------------
r386 | lh3 | 2008-07-22 10:03:54 -0400 (Tue, 22 Jul 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/NEWS
M /branches/prog/bwa/main.c
Release bwa-0.1.4
------------------------------------------------------------------------
r385 | lh3 | 2008-07-22 09:44:50 -0400 (Tue, 22 Jul 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/ChangeLog
M /branches/prog/bwa/bwa.1
update documentation and ChangeLog
------------------------------------------------------------------------
r384 | lh3 | 2008-07-22 08:50:03 -0400 (Tue, 22 Jul 2008) | 4 lines
Changed paths:
M /branches/prog/bwa/Makefile
M /branches/prog/bwa/bwt2fmv.c
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/bwtaln.h
M /branches/prog/bwa/bwtgap.c
M /branches/prog/bwa/main.c
* bwa-0.1.3-2
* fixed the bug in the last modification
* now the alignment should be more clearly defined
------------------------------------------------------------------------
r383 | lh3 | 2008-07-21 18:32:21 -0400 (Mon, 21 Jul 2008) | 4 lines
Changed paths:
M /branches/prog/bwa/bwt2fmv.c
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/bwtgap.c
M /branches/prog/bwa/main.c
* bwa-0.1.3-1
* this is a buggy verion!
* i will fix the bug tomorrow. It is late...
------------------------------------------------------------------------
r381 | lh3 | 2008-07-21 06:45:32 -0400 (Mon, 21 Jul 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/ChangeLog
M /branches/prog/bwa/NEWS
M /branches/prog/bwa/bwa.1
M /branches/prog/bwa/main.c
Release bwa-0.1.3
------------------------------------------------------------------------
r380 | lh3 | 2008-07-21 06:07:43 -0400 (Mon, 21 Jul 2008) | 4 lines
Changed paths:
M /branches/prog/bwa/ChangeLog
M /branches/prog/bwa/bwa.1
M /branches/prog/bwa/bwt.c
M /branches/prog/bwa/bwt2fmv.c
M /branches/prog/bwa/main.c
* bwa-0.1.2-3
* improve the speed for gcc on Intel Mac OS X, but not really on icc on Linux
* aln: more command-line options
------------------------------------------------------------------------
r373 | lh3 | 2008-07-17 09:09:46 -0400 (Thu, 17 Jul 2008) | 4 lines
Changed paths:
M /branches/prog/bwa/bwt.c
M /branches/prog/bwa/bwt.h
M /branches/prog/bwa/bwtio.c
M /branches/prog/bwa/main.c
* bwa-0.1.2-2
* further improve the speed
* this version gives exactly the same result as bwa-0.1.2
------------------------------------------------------------------------
r372 | lh3 | 2008-07-17 07:51:08 -0400 (Thu, 17 Jul 2008) | 3 lines
Changed paths:
M /branches/prog/bwa/bwt.c
M /branches/prog/bwa/main.c
* bwa-0.1.2-1
* speed up by about 5%
------------------------------------------------------------------------
r370 | lh3 | 2008-07-17 05:12:00 -0400 (Thu, 17 Jul 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/NEWS
M /branches/prog/bwa/bwa.1
M /branches/prog/bwa/main.c
Release bwa-0.1.2
------------------------------------------------------------------------
r368 | lh3 | 2008-07-16 08:51:25 -0400 (Wed, 16 Jul 2008) | 4 lines
Changed paths:
M /branches/prog/bwa/Makefile
D /branches/prog/bwa/bwt1away.c
M /branches/prog/bwa/bwt2fmv.c
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/bwtaln.h
M /branches/prog/bwa/bwtgap.c
M /branches/prog/bwa/bwtgap.h
D /branches/prog/bwa/bwttop2.c
M /branches/prog/bwa/main.c
* bwa-0.1.1-9
* some code cleanup
* remove 1away and top2
------------------------------------------------------------------------
r367 | lh3 | 2008-07-16 08:24:34 -0400 (Wed, 16 Jul 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/is.c
Yuta Mori's implementation of IS algorithm.
------------------------------------------------------------------------
r365 | lh3 | 2008-07-16 06:58:04 -0400 (Wed, 16 Jul 2008) | 6 lines
Changed paths:
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/bwtgap.c
M /branches/prog/bwa/bwtgap.h
M /branches/prog/bwa/main.c
* bwa-0.1.1-8
* improve gapped alignment
* this version will miss more gapped alignments, but the speed is much faster
* prepare to remove top2 and 1away algorithms
* prepare to add SAIS algorithm for bwt construction
------------------------------------------------------------------------
r358 | lh3 | 2008-06-09 06:03:04 -0400 (Mon, 09 Jun 2008) | 4 lines
Changed paths:
M /branches/prog/bwa/bwt2fmv.c
M /branches/prog/bwa/bwtgap.c
M /branches/prog/bwa/main.c
* bwa-0.1.1-7
* change END_SKIP from 3 to 5, but still gaps may be wrongly added
* change default '-g' from 5 to 3
------------------------------------------------------------------------
r357 | lh3 | 2008-06-09 05:18:36 -0400 (Mon, 09 Jun 2008) | 3 lines
Changed paths:
M /branches/prog/bwa/bntseq.c
M /branches/prog/bwa/bwt2fmv.c
M /branches/prog/bwa/bwtgap.c
M /branches/prog/bwa/main.c
* bwa-0.1.1-6
* fix a bug in nested stack
------------------------------------------------------------------------
r356 | lh3 | 2008-06-08 18:43:13 -0400 (Sun, 08 Jun 2008) | 4 lines
Changed paths:
M /branches/prog/bwa/Makefile
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/bwtaln.h
M /branches/prog/bwa/bwtgap.c
A /branches/prog/bwa/bwtgap.h
M /branches/prog/bwa/main.c
* bwa-0.1.1-5
* replace heap with nested stacks
* there are still obvious bugs...
------------------------------------------------------------------------
r355 | lh3 | 2008-06-08 17:13:44 -0400 (Sun, 08 Jun 2008) | 4 lines
Changed paths:
M /branches/prog/bwa/bwt2fmv.c
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/bwtaln.h
M /branches/prog/bwa/bwtgap.c
M /branches/prog/bwa/main.c
M /branches/prog/bwa/main.h
* bwa-0.1.1-4
* add interface to affine gap alignment
* there are obvious bugs and I will fix them later
------------------------------------------------------------------------
r354 | lh3 | 2008-06-08 15:39:05 -0400 (Sun, 08 Jun 2008) | 3 lines
Changed paths:
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/bwtaln.h
M /branches/prog/bwa/bwtgap.c
M /branches/prog/bwa/main.c
* bwa-0.1.1-3
* affine gap seems to work, at least partially
------------------------------------------------------------------------
r353 | lh3 | 2008-06-08 09:27:18 -0400 (Sun, 08 Jun 2008) | 3 lines
Changed paths:
M /branches/prog/bwa/Makefile
M /branches/prog/bwa/bwt2fmv.c
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/bwtaln.h
A /branches/prog/bwa/bwtgap.c
M /branches/prog/bwa/bwttop2.c
M /branches/prog/bwa/main.c
* bwa-0.1.1-2
* initial gapped alignment. not work at the moment
------------------------------------------------------------------------
r352 | lh3 | 2008-06-06 04:37:34 -0400 (Fri, 06 Jun 2008) | 3 lines
Changed paths:
M /branches/prog/bwa/bwttop2.c
M /branches/prog/bwa/main.c
* bwa-0.1.1-1
* ungap: remove a useless varible in top2_entry_t
------------------------------------------------------------------------
r348 | lh3 | 2008-06-03 09:04:12 -0400 (Tue, 03 Jun 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/ChangeLog
A /branches/prog/bwa/NEWS
M /branches/prog/bwa/bwa.1
M /branches/prog/bwa/main.c
Release bwa-0.1.1
------------------------------------------------------------------------
r347 | lh3 | 2008-06-03 05:45:08 -0400 (Tue, 03 Jun 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/bwa.1
update documentation
------------------------------------------------------------------------
r346 | lh3 | 2008-06-02 18:59:50 -0400 (Mon, 02 Jun 2008) | 5 lines
Changed paths:
A /branches/prog/bwa/ChangeLog
A /branches/prog/bwa/bwa.1
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/main.c
* bwa-0.1.0-11
* improve approximating mapping qualities
* add documentation
* add ChangeLog
------------------------------------------------------------------------
r345 | lh3 | 2008-06-02 16:04:39 -0400 (Mon, 02 Jun 2008) | 3 lines
Changed paths:
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/bwttop2.c
M /branches/prog/bwa/main.c
* bwa-0.1.0-10
* output a random position for repetitive reads
------------------------------------------------------------------------
r344 | lh3 | 2008-06-02 15:03:54 -0400 (Mon, 02 Jun 2008) | 4 lines
Changed paths:
M /branches/prog/bwa/bntseq.c
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/main.c
M /branches/prog/bwa/pac2bwt.c
* bwa-0.1.0-9
* fix memory leaks
* fix a potential bug in coverting to the real coordinate
------------------------------------------------------------------------
r343 | lh3 | 2008-06-02 13:44:51 -0400 (Mon, 02 Jun 2008) | 5 lines
Changed paths:
M /branches/prog/bwa/Makefile.div
M /branches/prog/bwa/bwt.c
M /branches/prog/bwa/bwt.h
M /branches/prog/bwa/bwt2fmv.c
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/bwttop2.c
M /branches/prog/bwa/main.c
* bwa-0.1.0-8
* fix a bug about strand
* update Makefile.div
* change top2b as the default method
------------------------------------------------------------------------
r342 | lh3 | 2008-06-02 11:23:26 -0400 (Mon, 02 Jun 2008) | 3 lines
Changed paths:
M /branches/prog/bwa/bwt.c
M /branches/prog/bwa/bwt1away.c
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/main.c
* bwa-0.1.0-7
* use bwt_2occ() and bwt_2occ4() in other functions
------------------------------------------------------------------------
r341 | lh3 | 2008-06-02 09:31:39 -0400 (Mon, 02 Jun 2008) | 3 lines
Changed paths:
M /branches/prog/bwa/bwttop2.c
M /branches/prog/bwa/main.c
* bwa-0.1.0-6
* fix a bug for missing hits
------------------------------------------------------------------------
r340 | lh3 | 2008-06-02 09:10:18 -0400 (Mon, 02 Jun 2008) | 3 lines
Changed paths:
M /branches/prog/bwa/bwttop2.c
M /branches/prog/bwa/main.c
* bwa-0.1.0-5
* accelerate comparisons in heap, a bit
------------------------------------------------------------------------
r339 | lh3 | 2008-06-02 08:41:31 -0400 (Mon, 02 Jun 2008) | 3 lines
Changed paths:
M /branches/prog/bwa/bwt.c
M /branches/prog/bwa/bwt.h
M /branches/prog/bwa/bwttop2.c
M /branches/prog/bwa/main.c
* bwa-0.1.0-4
* avoid marginal repeated calculation in occ
------------------------------------------------------------------------
r338 | lh3 | 2008-06-02 06:46:51 -0400 (Mon, 02 Jun 2008) | 5 lines
Changed paths:
M /branches/prog/bwa/Makefile
M /branches/prog/bwa/bwt.c
M /branches/prog/bwa/bwttop2.c
M /branches/prog/bwa/main.c
* bwa-0.1.0-3
* fix a bug caused by previours change
* fix a bug in heap
* order the heap by more criteria
------------------------------------------------------------------------
r337 | lh3 | 2008-06-01 19:11:15 -0400 (Sun, 01 Jun 2008) | 4 lines
Changed paths:
M /branches/prog/bwa/bwttop2.c
M /branches/prog/bwa/main.c
* bwa-0.1.0-2
* also sort sa range in heapsort, in attempt to improve cache performance.
Unfortunately, it does not work well at all.
------------------------------------------------------------------------
r336 | lh3 | 2008-06-01 17:45:23 -0400 (Sun, 01 Jun 2008) | 3 lines
Changed paths:
M /branches/prog/bwa/Makefile
M /branches/prog/bwa/Makefile.div
M /branches/prog/bwa/bntseq.c
M /branches/prog/bwa/main.c
* 0.1.0-1
* fix a bug in calculating the real coordinate
------------------------------------------------------------------------
r335 | lh3 | 2008-06-01 16:03:09 -0400 (Sun, 01 Jun 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/Makefile
nothing, really
------------------------------------------------------------------------
r334 | lh3 | 2008-06-01 15:59:13 -0400 (Sun, 01 Jun 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/Makefile
A /branches/prog/bwa/Makefile.div
M /branches/prog/bwa/bwtindex.c
M /branches/prog/bwa/pac2bwt.c
use IS algorithm by default
------------------------------------------------------------------------
r333 | lh3 | 2008-06-01 15:05:15 -0400 (Sun, 01 Jun 2008) | 3 lines
Changed paths:
M /branches/prog/bwa/Makefile
M /branches/prog/bwa/bwtindex.c
M /branches/prog/bwa/is.c
M /branches/prog/bwa/pac2bwt.c
* a bit code clean up in is.c
* add IS algorithm for constructing BWT, albeit slower
------------------------------------------------------------------------
r332 | lh3 | 2008-06-01 13:23:08 -0400 (Sun, 01 Jun 2008) | 2 lines
Changed paths:
A /branches/prog/bwa/is.c
IS linear-time algorithm for constructing SA/BWT
------------------------------------------------------------------------
r331 | lh3 | 2008-06-01 10:35:26 -0400 (Sun, 01 Jun 2008) | 3 lines
Changed paths:
M /branches/prog/bwa/Makefile
M /branches/prog/bwa/bntseq.c
A /branches/prog/bwa/bwtindex.c
M /branches/prog/bwa/main.c
M /branches/prog/bwa/main.h
* fix a bug in generating .pac
* index in one go
------------------------------------------------------------------------
r330 | lh3 | 2008-06-01 09:17:05 -0400 (Sun, 01 Jun 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/bntseq.c
M /branches/prog/bwa/bntseq.h
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/bwttop2.c
real coordinates can be ouput
------------------------------------------------------------------------
r329 | lh3 | 2008-05-31 19:21:02 -0400 (Sat, 31 May 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/bwt2fmv.c
M /branches/prog/bwa/bwtaln.h
M /branches/prog/bwa/bwttop2.c
add top2e which is similar to 1away
------------------------------------------------------------------------
r328 | lh3 | 2008-05-31 18:46:12 -0400 (Sat, 31 May 2008) | 3 lines
Changed paths:
M /branches/prog/bwa/bwt2fmv.c
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/bwtaln.h
M /branches/prog/bwa/bwttop2.c
M /branches/prog/bwa/main.c
M /branches/prog/bwa/main.h
* unified cmd-line interface for ungapped alignment
* add two alternatives to top2 algorithm
------------------------------------------------------------------------
r327 | lh3 | 2008-05-31 18:14:46 -0400 (Sat, 31 May 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/bwt2fmv.c
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/bwtaln.h
M /branches/prog/bwa/main.c
M /branches/prog/bwa/main.h
add cmd-line interface to alntop2
------------------------------------------------------------------------
r326 | lh3 | 2008-05-31 17:59:31 -0400 (Sat, 31 May 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/Makefile
M /branches/prog/bwa/bwt1away.c
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/bwtaln.h
A /branches/prog/bwa/bwttop2.c
top2 algorithm seems to work. I need to change interface, though
------------------------------------------------------------------------
r325 | lh3 | 2008-05-31 15:11:49 -0400 (Sat, 31 May 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/bwt1away.c
change the variable in the structure
------------------------------------------------------------------------
r324 | lh3 | 2008-05-31 14:52:13 -0400 (Sat, 31 May 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/bwt1away.c
set a slightly better bound on the maximum allowed mismatches
------------------------------------------------------------------------
r323 | lh3 | 2008-05-30 18:40:21 -0400 (Fri, 30 May 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/bwtaln.c
* output time statistics
------------------------------------------------------------------------
r322 | lh3 | 2008-05-30 17:58:25 -0400 (Fri, 30 May 2008) | 4 lines
Changed paths:
M /branches/prog/bwa/Makefile
M /branches/prog/bwa/bwt.c
M /branches/prog/bwa/bwt.h
A /branches/prog/bwa/bwt1away.c
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/bwtaln.h
* presumably better way to make use of prefix. But for the moment I do
not know whether it is correct or not.
* a bit code clean up: separate alignment part
------------------------------------------------------------------------
r321 | lh3 | 2008-05-30 13:57:43 -0400 (Fri, 30 May 2008) | 3 lines
Changed paths:
M /branches/prog/bwa/Makefile
M /branches/prog/bwa/bwt.c
M /branches/prog/bwa/bwt.h
M /branches/prog/bwa/bwt_gen/Makefile
M /branches/prog/bwa/bwt_gen/bwt_gen.c
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/main.c
M /branches/prog/bwa/main.h
M /branches/prog/bwa/pac2bwt.c
* a bit code clean up
* put bwt_gen in bwa
------------------------------------------------------------------------
r320 | lh3 | 2008-05-30 11:40:11 -0400 (Fri, 30 May 2008) | 4 lines
Changed paths:
M /branches/prog/bwa/bwt.c
M /branches/prog/bwa/bwt2fmv.c
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/bwtaln.h
M /branches/prog/bwa/bwtio.c
* improve cmd-line interface
* fix a bug in loading .sa
* change default sa interval to 32
------------------------------------------------------------------------
r319 | lh3 | 2008-05-30 10:31:37 -0400 (Fri, 30 May 2008) | 3 lines
Changed paths:
M /branches/prog/bwa/bwtaln.c
* fix memory leak (I know that. Just a bit lazy)
* change to another method to do 1-away alignment
------------------------------------------------------------------------
r318 | lh3 | 2008-05-30 09:21:49 -0400 (Fri, 30 May 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/bwt.c
M /branches/prog/bwa/bwt.h
M /branches/prog/bwa/bwt2fmv.c
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/bwtaln.h
M /branches/prog/bwa/main.c
M /branches/prog/bwa/main.h
best unique match is partially finished
------------------------------------------------------------------------
r317 | lh3 | 2008-05-30 06:33:28 -0400 (Fri, 30 May 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/bwt.c
M /branches/prog/bwa/bwt2fmv.c
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/bwtaln.h
M /branches/prog/bwa/main.c
M /branches/prog/bwa/main.h
remove "ungapped" command and related codes
------------------------------------------------------------------------
r316 | lh3 | 2008-05-30 06:05:20 -0400 (Fri, 30 May 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/Makefile
M /branches/prog/bwa/bwt.c
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/bwtaln.h
change variable name thick to width
------------------------------------------------------------------------
r315 | lh3 | 2008-05-29 19:06:13 -0400 (Thu, 29 May 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/bntseq.c
M /branches/prog/bwa/bwt.c
M /branches/prog/bwa/bwt.h
M /branches/prog/bwa/bwt2fmv.c
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/bwtaln.h
M /branches/prog/bwa/bwtio.c
M /branches/prog/bwa/main.c
M /branches/prog/bwa/main.h
M /branches/prog/bwa/pac2bwt.c
revised algorithm for ungapped alignment. the old one can still be used.
------------------------------------------------------------------------
r314 | lh3 | 2008-05-29 16:36:11 -0400 (Thu, 29 May 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/bwt2fmv.c
M /branches/prog/bwa/bwt_gen/bwt_gen.c
M /branches/prog/bwa/bwtio.c
M /branches/prog/bwa/pac2bwt.c
* make commands more independent, but ungapped does not work at the moment
------------------------------------------------------------------------
r313 | lh3 | 2008-05-29 15:56:14 -0400 (Thu, 29 May 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/bwt_gen/bwt_gen.c
little...
------------------------------------------------------------------------
r312 | lh3 | 2008-05-29 15:54:01 -0400 (Thu, 29 May 2008) | 3 lines
Changed paths:
M /branches/prog/bwa/bwt_gen/bwt_gen.c
M /branches/prog/bwa/bwt_gen/bwt_gen.h
* add CopyRight information from the original codes
* do not dump .fmv files
------------------------------------------------------------------------
r311 | lh3 | 2008-05-29 15:44:36 -0400 (Thu, 29 May 2008) | 2 lines
Changed paths:
A /branches/prog/bwa/bwt_gen
A /branches/prog/bwa/bwt_gen/Makefile
A /branches/prog/bwa/bwt_gen/QSufSort.c
A /branches/prog/bwa/bwt_gen/QSufSort.h
A /branches/prog/bwa/bwt_gen/bwt_gen.c
A /branches/prog/bwa/bwt_gen/bwt_gen.h
codes from BWT-SW, for building BWT from packed file
------------------------------------------------------------------------
r310 | lh3 | 2008-05-28 17:03:35 -0400 (Wed, 28 May 2008) | 4 lines
Changed paths:
M /branches/prog/bwa/bwt.c
M /branches/prog/bwa/bwt.h
M /branches/prog/bwa/bwt2fmv.c
M /branches/prog/bwa/bwtio.c
M /branches/prog/bwa/main.c
M /branches/prog/bwa/main.h
* change OCC_INTERVAL to 0x40, which makes bwa twice as fast.
* write Occ file as ".occ" as it is using a different interval from
.fmv, the BWT-SW correspondance of .occ
------------------------------------------------------------------------
r309 | lh3 | 2008-05-28 11:39:37 -0400 (Wed, 28 May 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/bwt.c
M /branches/prog/bwa/bwt2fmv.c
fix a bug
------------------------------------------------------------------------
r308 | lh3 | 2008-05-28 09:56:16 -0400 (Wed, 28 May 2008) | 4 lines
Changed paths:
M /branches/prog/bwa/bwt.c
M /branches/prog/bwa/bwt2fmv.c
add heuristics to improve the speed, but I have not tested whether the
results are correct or not.
------------------------------------------------------------------------
r307 | lh3 | 2008-05-28 06:31:34 -0400 (Wed, 28 May 2008) | 5 lines
Changed paths:
M /branches/prog/bwa/bwt.c
M /branches/prog/bwa/bwt2fmv.c
M /branches/prog/bwa/bwtaln.c
M /branches/prog/bwa/bwtaln.h
M /branches/prog/bwa/main.c
M /branches/prog/bwa/main.h
* make ungapped alignment basically works...
* but it is very slow in comparison to others...
* also I need to improve the interface...
* a lot of things to keep me busy today...
------------------------------------------------------------------------
r306 | lh3 | 2008-05-27 18:41:27 -0400 (Tue, 27 May 2008) | 3 lines
Changed paths:
M /branches/prog/bwa/bwt.c
M /branches/prog/bwa/bwt.h
M /branches/prog/bwa/bwtaln.c
* remove recursion
* fixed a bug in bwt_occ()
------------------------------------------------------------------------
r305 | lh3 | 2008-05-27 16:59:44 -0400 (Tue, 27 May 2008) | 5 lines
Changed paths:
M /branches/prog/bwa/bwt.c
M /branches/prog/bwa/bwt.h
M /branches/prog/bwa/bwtaln.c
* bwa now tells whether a sequenced can be mapped with maximum allowed
mismatches. ONLY ungapped.
* this is a recursive version. I will remove recursion later.
------------------------------------------------------------------------
r304 | lh3 | 2008-05-27 09:12:17 -0400 (Tue, 27 May 2008) | 3 lines
Changed paths:
M /branches/prog/bwa/Makefile
M /branches/prog/bwa/bwt.c
M /branches/prog/bwa/bwt.h
M /branches/prog/bwa/bwt2fmv.c
A /branches/prog/bwa/bwtaln.c
A /branches/prog/bwa/bwtaln.h
M /branches/prog/bwa/bwtio.c
M /branches/prog/bwa/main.c
M /branches/prog/bwa/main.h
M /branches/prog/bwa/utils.c
* load .sa and .fmv files
* exact alignment now works
------------------------------------------------------------------------
r303 | lh3 | 2008-05-27 06:33:38 -0400 (Tue, 27 May 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/bntseq.c
M /branches/prog/bwa/bwt.c
M /branches/prog/bwa/bwtio.c
M /branches/prog/bwa/utils.c
M /branches/prog/bwa/utils.h
add xassert and fix a bug
------------------------------------------------------------------------
r302 | lh3 | 2008-05-27 06:23:20 -0400 (Tue, 27 May 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/Makefile
M /branches/prog/bwa/bntseq.c
M /branches/prog/bwa/bwt.c
M /branches/prog/bwa/bwtio.c
A /branches/prog/bwa/utils.c
A /branches/prog/bwa/utils.h
improve error message and error handling
------------------------------------------------------------------------
r301 | lh3 | 2008-05-27 05:37:51 -0400 (Tue, 27 May 2008) | 4 lines
Changed paths:
M /branches/prog/bwa/Makefile
M /branches/prog/bwa/bwt.c
M /branches/prog/bwa/bwt.h
M /branches/prog/bwa/bwt2fmv.c
A /branches/prog/bwa/bwtio.c
M /branches/prog/bwa/main.c
M /branches/prog/bwa/main.h
* move I/O codes to bwtio.c
* SA can be dumped and interestingly, it is identical to BWTSW
* now, .fmv is still different from BWTSW
------------------------------------------------------------------------
r299 | lh3 | 2008-05-26 18:07:44 -0400 (Mon, 26 May 2008) | 2 lines
Changed paths:
M /branches/prog/bwa/Makefile
M /branches/prog/bwa/bwt.c
M /branches/prog/bwa/bwt.h
M /branches/prog/bwa/bwt2fmv.c
generate/retrieve SA and Occ
------------------------------------------------------------------------
r298 | lh3 | 2008-05-26 13:16:49 -0400 (Mon, 26 May 2008) | 3 lines
Changed paths:
M /branches/prog/bwa/bntseq.h
M /branches/prog/bwa/bwt.c
M /branches/prog/bwa/bwt.h
M /branches/prog/bwa/bwt2fmv.c
* retrieve occ value at any position
* move bwt_cal_occ() to bwt.c
------------------------------------------------------------------------
r297 | lh3 | 2008-05-25 17:43:58 -0400 (Sun, 25 May 2008) | 6 lines
Changed paths:
M /branches/prog/bwa/Makefile
A /branches/prog/bwa/bwt.c
A /branches/prog/bwa/bwt.h
A /branches/prog/bwa/bwt2fmv.c
M /branches/prog/bwa/main.c
M /branches/prog/bwa/main.h
M /branches/prog/bwa/pac2bwt.c
* add bwt2fmv. It works to some extend. However, I do not understand
the purpose of some weird codes in BWT-SW. As a consequence, bwt2fmv
could generate a file almost identical, but not exactly identical, to
the .fmv file from BWT-SW.
------------------------------------------------------------------------
r296 | lh3 | 2008-05-24 18:35:02 -0400 (Sat, 24 May 2008) | 5 lines
Changed paths:
M /branches/prog/bwa/Makefile
M /branches/prog/bwa/bntseq.c
M /branches/prog/bwa/bntseq.h
M /branches/prog/bwa/main.c
M /branches/prog/bwa/main.h
A /branches/prog/bwa/pac2bwt.c
Burrows-Wheeler Transform now works. At least on one example, the
current code generates the same BWT as BWT-SW. Kind of magical, I would
say. :)
------------------------------------------------------------------------
r295 | lh3 | 2008-05-24 11:25:31 -0400 (Sat, 24 May 2008) | 3 lines
Changed paths:
A /branches/prog/bwa/Makefile
M /branches/prog/bwa/bntseq.c
A /branches/prog/bwa/main.c
A /branches/prog/bwa/main.h
* add Makefile and main.*
* improve interface to fa2bns, a bit
------------------------------------------------------------------------
r293 | lh3 | 2008-05-24 10:57:03 -0400 (Sat, 24 May 2008) | 3 lines
Changed paths:
A /branches/prog/bwa
A /branches/prog/bwa/bntseq.c
A /branches/prog/bwa/bntseq.h
A /branches/prog/bwa/seq.c
A /branches/prog/bwa/seq.h
* Burrow-Wheeler Alignment
* initial codes
------------------------------------------------------------------------
bwa-0.7.17/Makefile 0000664 0000000 0000000 00000006244 13173421171 0014025 0 ustar 00root root 0000000 0000000 CC= gcc
#CC= clang --analyze
CFLAGS= -g -Wall -Wno-unused-function -O2
WRAP_MALLOC=-DUSE_MALLOC_WRAPPERS
AR= ar
DFLAGS= -DHAVE_PTHREAD $(WRAP_MALLOC)
LOBJS= utils.o kthread.o kstring.o ksw.o bwt.o bntseq.o bwa.o bwamem.o bwamem_pair.o bwamem_extra.o malloc_wrap.o \
QSufSort.o bwt_gen.o rope.o rle.o is.o bwtindex.o
AOBJS= bwashm.o bwase.o bwaseqio.o bwtgap.o bwtaln.o bamlite.o \
bwape.o kopen.o pemerge.o maxk.o \
bwtsw2_core.o bwtsw2_main.o bwtsw2_aux.o bwt_lite.o \
bwtsw2_chain.o fastmap.o bwtsw2_pair.o
PROG= bwa
INCLUDES=
LIBS= -lm -lz -lpthread
SUBDIRS= .
ifeq ($(shell uname -s),Linux)
LIBS += -lrt
endif
.SUFFIXES:.c .o .cc
.c.o:
$(CC) -c $(CFLAGS) $(DFLAGS) $(INCLUDES) $< -o $@
all:$(PROG)
bwa:libbwa.a $(AOBJS) main.o
$(CC) $(CFLAGS) $(DFLAGS) $(AOBJS) main.o -o $@ -L. -lbwa $(LIBS)
bwamem-lite:libbwa.a example.o
$(CC) $(CFLAGS) $(DFLAGS) example.o -o $@ -L. -lbwa $(LIBS)
libbwa.a:$(LOBJS)
$(AR) -csru $@ $(LOBJS)
clean:
rm -f gmon.out *.o a.out $(PROG) *~ *.a
depend:
( LC_ALL=C ; export LC_ALL; makedepend -Y -- $(CFLAGS) $(DFLAGS) -- *.c )
# DO NOT DELETE THIS LINE -- make depend depends on it.
QSufSort.o: QSufSort.h
bamlite.o: bamlite.h malloc_wrap.h
bntseq.o: bntseq.h utils.h kseq.h malloc_wrap.h khash.h
bwa.o: bntseq.h bwa.h bwt.h ksw.h utils.h kstring.h malloc_wrap.h kvec.h
bwa.o: kseq.h
bwamem.o: kstring.h malloc_wrap.h bwamem.h bwt.h bntseq.h bwa.h ksw.h kvec.h
bwamem.o: ksort.h utils.h kbtree.h
bwamem_extra.o: bwa.h bntseq.h bwt.h bwamem.h kstring.h malloc_wrap.h
bwamem_pair.o: kstring.h malloc_wrap.h bwamem.h bwt.h bntseq.h bwa.h kvec.h
bwamem_pair.o: utils.h ksw.h
bwape.o: bwtaln.h bwt.h kvec.h malloc_wrap.h bntseq.h utils.h bwase.h bwa.h
bwape.o: ksw.h khash.h
bwase.o: bwase.h bntseq.h bwt.h bwtaln.h utils.h kstring.h malloc_wrap.h
bwase.o: bwa.h ksw.h
bwaseqio.o: bwtaln.h bwt.h utils.h bamlite.h malloc_wrap.h kseq.h
bwashm.o: bwa.h bntseq.h bwt.h
bwt.o: utils.h bwt.h kvec.h malloc_wrap.h
bwt_gen.o: QSufSort.h malloc_wrap.h
bwt_lite.o: bwt_lite.h malloc_wrap.h
bwtaln.o: bwtaln.h bwt.h bwtgap.h utils.h bwa.h bntseq.h malloc_wrap.h
bwtgap.o: bwtgap.h bwt.h bwtaln.h malloc_wrap.h
bwtindex.o: bntseq.h bwa.h bwt.h utils.h rle.h rope.h malloc_wrap.h
bwtsw2_aux.o: bntseq.h bwt_lite.h utils.h bwtsw2.h bwt.h kstring.h
bwtsw2_aux.o: malloc_wrap.h bwa.h ksw.h kseq.h ksort.h
bwtsw2_chain.o: bwtsw2.h bntseq.h bwt_lite.h bwt.h malloc_wrap.h ksort.h
bwtsw2_core.o: bwt_lite.h bwtsw2.h bntseq.h bwt.h kvec.h malloc_wrap.h
bwtsw2_core.o: khash.h ksort.h
bwtsw2_main.o: bwt.h bwtsw2.h bntseq.h bwt_lite.h utils.h bwa.h
bwtsw2_pair.o: utils.h bwt.h bntseq.h bwtsw2.h bwt_lite.h kstring.h
bwtsw2_pair.o: malloc_wrap.h ksw.h
example.o: bwamem.h bwt.h bntseq.h bwa.h kseq.h malloc_wrap.h
fastmap.o: bwa.h bntseq.h bwt.h bwamem.h kvec.h malloc_wrap.h utils.h kseq.h
is.o: malloc_wrap.h
kopen.o: malloc_wrap.h
kstring.o: kstring.h malloc_wrap.h
ksw.o: ksw.h malloc_wrap.h
main.o: kstring.h malloc_wrap.h utils.h
malloc_wrap.o: malloc_wrap.h
maxk.o: bwa.h bntseq.h bwt.h bwamem.h kseq.h malloc_wrap.h
pemerge.o: ksw.h kseq.h malloc_wrap.h kstring.h bwa.h bntseq.h bwt.h utils.h
rle.o: rle.h
rope.o: rle.h rope.h
utils.o: utils.h ksort.h malloc_wrap.h kseq.h
bwa-0.7.17/NEWS.md 0000664 0000000 0000000 00000116627 13173421171 0013472 0 ustar 00root root 0000000 0000000 Release 0.7.17 (23 October 2017)
--------------------------------
This release adds option -q to preserve the mapping quality of split alignment
with a lower alignment score than the primary alignment. Option -5
automatically applies -q as well.
(0.7.17: 23 October 2017, r1188)
Release 0.7.16 (30 July 2017)
-----------------------------
This release added a couple of minor features and incorporated multiple pull
requests, including:
* Added option -5, which is useful to some Hi-C pipelines.
* Fixed an error with samtools sorting (#129). Updated download link for
GRCh38 (#123). Fixed README MarkDown formatting (#70). Addressed multiple
issues via a collected pull request #139 by @jmarshall. Avoid malformatted
SAM header when -R is used with TAB (#84). Output mate CIGAR (#138).
(0.7.16: 30 July 2017, r1180)
Release 0.7.15 (31 May 2016)
----------------------------
Fixed a long existing bug which potentially leads to underestimated insert size
upper bound. This bug should have little effect in practice.
(0.7.15: 31 May 2016, r1140)
Release 0.7.14 (4 May 2016)
---------------------------
In the ALT mapping mode, this release adds the "AH:*" header tag to SQ lines
corresponding to alternate haplotypes.
(0.7.14: 4 May 2016, r1136)
Release 0.7.13 (23 Feburary 2016)
---------------------------------
This release fixes a few minor bugs in the previous version and adds a few
minor features. All BWA algorithms should produce identical output to 0.7.12
when there are no ALT contigs.
Detailed changes:
* Fixed a bug in "bwa-postalt.js". The old version may produce 0.5% of wrong
bases for reads mapped to the ALT contigs.
* Fixed a potential bug in the multithreading mode. It may occur when mapping
is much faster than file reading, which should almost never happen in
practice.
* Changed the download URL of GRCh38.
* Removed the read overlap mode. It is not working well.
* Added the ropebwt2 algorithm as an alternative to index large genomes.
Ropebwt2 is slower than the "bwtsw" algorithm, but it has a permissive
license. This allows us to create an Apache2-licensed BWA (in the "Apache2"
branch) for commercial users who are concerned with GPL.
(0.7.13: 23 Feburary 2016, r1126)
Release 0.7.12 (28 December 2014)
---------------------------------
This release fixed a bug in the pair-end mode when ALT contigs are present. It
leads to undercalling in regions overlapping ALT contigs.
(0.7.12: 28 December 2014, r1039)
Release 0.7.11 (23 December, 2014)
----------------------------------
A major change to BWA-MEM is the support of mapping to ALT contigs in addition
to the primary assembly. Part of the ALT mapping strategy is implemented in
BWA-MEM and the rest in a postprocessing script for now. Due to the extra
layer of complexity on generating the reference genome and on the two-step
mapping, we start to provide a wrapper script and precompiled binaries since
this release. The package may be more convenient to some specific use cases.
For general uses, the single BWA binary still works like the old way.
Another major addition to BWA-MEM is HLA typing, which made possible with the
new ALT mapping strategy. Necessary data and programs are included in the
binary release. The wrapper script also optionally performs HLA typing when HLA
genes are included in the reference genome as additional ALT contigs.
Other notable changes to BWA-MEM:
* Added option `-b` to `bwa index`. This option tunes the batch size used in
the construction of BWT. It is advised to use large `-b` for huge reference
sequences such as the BLAST *nt* database.
* Optimized for PacBio data. This includes a change to scoring based on a
study done by Aaron Quinlan and a heuristic speedup. Further speedup is
possible, but needs more careful investigation.
* Dropped PacBio read-to-read alignment for now. BWA-MEM is good for finding
the best hit, but is not very sensitive to suboptimal hits. Option `-x pbread`
is still available, but hidden on the command line. This may be removed in
future releases.
* Added a new pre-setting for Oxford Nanopore 2D reads. LAST is still a little
more sensitive on older bacterial data, but bwa-mem is as good on more
recent data and is times faster for mapping against mammalian genomes.
* Added LAST-like seeding. This improves the accuracy for longer reads.
* Added option `-H` to insert arbitrary header lines.
* Smarter option `-p`. Given an interleaved FASTQ stream, old bwa-mem identifies
the 2i-th and (2i+1)-th reads as a read pair. The new verion identifies
adjacent reads with the same read name as a read pair. It is possible to mix
single-end and paired-end reads in one FASTQ.
* Improved parallelization. Old bwa-mem waits for I/O. The new version puts
I/O on a separate thread. It performs mapping while reading FASTQ and
writing SAM. This saves significant wall-clock time when reading from
or writing to a slow Unix pipe.
With the new release, the recommended way to map Illumina reads to GRCh38 is to
use the bwakit binary package:
bwa.kit/run-gen-ref hs38DH
bwa.kit/bwa index hs38DH.fa
bwa.kit/run-bwamem -t8 -H -o out-prefix hs38DH.fa read1.fq.gz read2.fq.gz | sh
Please check bwa.kit/README.md for details and command line options.
(0.7.11: 23 December 2014, r1034)
Release 0.7.10 (13 July, 2014)
------------------------------
Notable changes to BWA-MEM:
* Fixed a segmentation fault due to an alignment bridging the forward-reverse
boundary. This is a bug.
* Use the PacBio heuristic to map contigs to the reference genome. The old
heuristic evaluates the necessity of full extension for each chain. This may
not work in long low-complexity regions. The PacBio heuristic performs
SSE2-SW around each short seed. It works better. Note that the heuristic is
only applied to long query sequences. For Illumina reads, the output is
identical to the previous version.
(0.7.10: 13 July 2014, r789)
Release 0.7.9 (19 May, 2014)
----------------------------
This release brings several major changes to BWA-MEM. Notably, BWA-MEM now
formally supports PacBio read-to-reference alignment and experimentally supports
PacBio read-to-read alignment. BWA-MEM also runs faster at a minor cost of
accuracy. The speedup is more significant when GRCh38 is in use. More
specifically:
* Support PacBio subread-to-reference alignment. Although older BWA-MEM works
with PacBio data in principle, the resultant alignments are frequently
fragmented. In this release, we fine tuned existing methods and introduced
new heuristics to improve PacBio alignment. These changes are not used by
default. Users need to add option "-x pacbio" to enable the feature.
* Support PacBio subread-to-subread alignment (EXPERIMENTAL). This feature is
enabled with option "-x pbread". In this mode, the output only gives the
overlapping region between a pair of reads without detailed alignment.
* Output alternative hits in the XA tag if there are not so many of them. This
is a BWA-backtrack feature.
* Support mapping to ALT contigs in GRCh38 (EXPERIMENTAL). We provide a script
to postprocess hits in the XA tag to adjust the mapping quality and generate
new primary alignments to all overlapping ALT contigs. We would *NOT*
recommend this feature for production uses.
* Improved alignments to many short reference sequences. Older BWA-MEM may
generate an alignment bridging two or more adjacent reference sequences.
Such alignments are split at a later step as postprocessing. This approach
is complex and does not always work. This release forbids these alignments
from the very beginning. BWA-MEM should not produce an alignment bridging
two or more reference sequences any more.
* Reduced the maximum seed occurrence from 10000 to 500. Reduced the maximum
rounds of Smith-Waterman mate rescue from 100 to 50. Added a heuristic to
lower the mapping quality if a read contains seeds with excessive
occurrences. These changes make BWA-MEM faster at a minor cost of accuracy
in highly repetitive regions.
* Added an option "-Y" to use soft clipping for supplementary alignments.
* Bugfix: incomplete alignment extension in corner cases.
* Bugfix: integer overflow when aligning long query sequences.
* Bugfix: chain score is not computed correctly (almost no practical effect)
* General code cleanup
* Added FAQs to README
Changes in BWA-backtrack:
* Bugfix: a segmentation fault when an alignment stands out of the end of the
last chromosome.
(0.7.9: 19 May 2014, r783)
Release 0.7.8 (31 March, 2014)
------------------------------
Changes in BWA-MEM:
* Bugfix: off-diagonal X-dropoff (option -d) not working as intended.
Short-read alignment is not affected.
* Bugfix: unnecessarily large bandwidth used during global alignment,
which reduces the mapping speed by -5% for short reads. Results are not
affected.
* Bugfix: when the matching score is not one, paired-end mapping quality is
inaccurate.
* When the matching score (option -A) is changed, scale all score-related
options accordingly unless overridden by users.
* Allow to specify different gap open (or extension) penalties for deletions
and insertions separately.
* Allow to specify the insert size distribution.
* Better and more detailed debugging information.
With the default setting, 0.7.8 and 0.7.7 gave identical output on one million
100bp read pairs.
(0.7.8: 31 March 2014, r455)
Release 0.7.7 (25 Feburary, 2014)
---------------------------------
This release fixes incorrect MD tags in the BWA-MEM output.
A note about short-read mapping to GRCh38. The new human reference genome
GRCh38 contains 60Mbp program generated alpha repeat arrays, some of which are
hard masked as they cannot be localized. These highly repetitive arrays make
BWA-MEM -50% slower. If you are concerned with the performance of BWA-MEM, you
may consider to use option "-c2000 -m50". On simulated data, this setting helps
the performance at a very minor cost on accuracy. I may consider to change the
default in future releases.
(0.7.7: 25 Feburary 2014, r441)
Release 0.7.6 (31 Januaray, 2014)
---------------------------------
Changes in BWA-MEM:
* Changed the way mapping quality is estimated. The new method tends to give
the same alignment a higher mapping quality. On paired-end reads, the change
is minor as with pairing, the mapping quality is usually high. For short
single-end reads, the difference is considerable.
* Improved load balance when many threads are spawned. However, bwa-mem is
still not very thread efficient, probably due to the frequent heap memory
allocation. Further improvement is a little difficult and may affect the
code stability.
* Allow to use different clipping penalties for 5'- and 3'-ends. This helps
when we do not want to clip one end.
* Print the @PG line, including the command line options.
* Improved the band width estimate: a) fixed a bug causing the band
width extimated from extension not used in the final global alignment; b)
try doubled band width if the global alignment score is smaller.
Insufficient band width leads to wrong CIGAR and spurious mismatches/indels.
* Added a new option -D to fine tune a heuristic on dropping suboptimal hits.
Reducing -D increases accuracy but decreases the mapping speed. If unsure,
leave it to the default.
* Bugfix: for a repetitive single-end read, the reported hit is not randomly
distributed among equally best hits.
* Bugfix: missing paired-end hits due to unsorted list of SE hits.
* Bugfix: incorrect CIGAR caused by a defect in the global alignment.
* Bugfix: incorrect CIGAR caused by failed SW rescue.
* Bugfix: alignments largely mapped to the same position are regarded to be
distinct from each other, which leads to underestimated mapping quality.
* Added the MD tag.
There are no changes to BWA-backtrack in this release. However, it has a few
known issues yet to be fixed. If you prefer BWA-track, It is still advised to
use bwa-0.6.x.
While I developed BWA-MEM, I also found a few issues with BWA-SW. It is now
possible to improve BWA-SW with the lessons learned from BWA-MEM. However, as
BWA-MEM is usually better, I will not improve BWA-SW until I find applications
where BWA-SW may excel.
(0.7.6: 31 January 2014, r432)
Release 0.7.5a (30 May, 2013)
-----------------------------
Fixed a bug in BWA-backtrack which leads to off-by-one mapping errors in rare
cases.
(0.7.5a: 30 May 2013, r405)
Release 0.7.5 (29 May, 2013)
----------------------------
Changes in all components:
* Improved error checking on memory allocation and file I/O. Patches provided
by Rob Davies.
* Updated README.
* Bugfix: return code is zero upon errors.
Changes in BWA-MEM:
* Changed the way a chimeric alignment is reported (conforming to the upcoming
SAM spec v1.5). With 0.7.5, if the read has a chimeric alignment, the paired
or the top hit uses soft clipping and is marked with neither 0x800 nor 0x100
bits. All the other hits part of the chimeric alignment will use hard
clipping and be marked with 0x800 if option "-M" is not in use, or marked
with 0x100 otherwise.
* Other hits part of a chimeric alignment are now reported in the SA tag,
conforming to the SAM spec v1.5.
* Better method for resolving an alignment bridging two or more short
reference sequences. The current strategy maps the query to the reference
sequence that covers the middle point of the alignment. For most
applications, this change has no effects.
Changes in BWA-backtrack:
* Added a magic number to .sai files. This prevents samse/sampe from reading
corrupted .sai (e.g. a .sai file containing LSF log) or incompatible .sai
generated by a different version of bwa.
* Bugfix: alignments in the XA:Z: tag were wrong.
* Keep track of #ins and #del during backtracking. This simplifies the code
and reduces errors in rare corner cases. I should have done this in the
early days of bwa.
In addition, if you use BWA-MEM or the fastmap command of BWA, please cite:
- Li H. (2013) Aligning sequence reads, clone sequences and assembly contigs
with BWA-MEM. arXiv:1303.3997v2 [q-bio.GN].
Thank you.
(0.7.5: 29 May 2013, r404)
Release 0.7.4 (23 April, 2013)
------------------------------
This is a bugfix release. Most of bugs are considered to be minor which only
occur very rarely.
* Bugfix: wrong CIGAR when a query sequence bridges three or more target
sequences. This only happens when aligning reads to short assembly contigs.
* Bugfix: leading "D" operator in CIGAR.
* Extend more seeds for better alignment around tandem repeats. This is also
a cause of the leading "D" operator in CIGAR.
* Bugfix: SSE2-SSW may occasionally find incorrect query starting position
around tandem repeat. This will lead to a suboptimal CIGAR in BWA-MEM and
a wrong CIGAR in BWA.
* Bugfix: clipping penalty does not work as is intended when there is a gap
towards the end of a read.
* Fixed an issue caused by a bug in the libc from Mac/Darwin. In Darwin,
fread() is unable to read a data block longer than 2GB due to an integer
overflow bug in its implementation.
Since version 0.7.4, BWA-MEM is considered to reach similar stability to
BWA-backtrack for short-read mapping.
(0.7.4: 23 April, r385)
Release 0.7.3a (15 March, 2013)
-------------------------------
In 0.7.3, the wrong CIGAR bug was only fixed in one scenario, but not fixed
in another corner case.
(0.7.3a: 15 March 2013, r367)
Release 0.7.3 (15 March, 2013)
------------------------------
Changes to BWA-MEM:
* Bugfix: pairing score is inaccurate when option -A does not take the default
value. This is a very minor issue even if it happens.
* Bugfix: occasionally wrong CIGAR. This happens when in the alignment there
is a 1bp deletion and a 1bp insertion which are close to the end of the
reads, and there are no other substitutions or indels. BWA-MEM would not do
a gapped alignment due to the bug.
* New feature: output other non-overlapping alignments in the XP tag such that
we can see the entire picture of alignment from one SAM line. XP gives the
position, CIGAR, NM and mapQ of each aligned subsequence of the query.
BWA-MEM has been used to align -300Gbp 100-700bp SE/PE reads. SNP/indel calling
has also been evaluated on part of these data. BWA-MEM generally gives better
pre-filtered SNP calls than BWA. No significant issues have been observed since
0.7.2, though minor improvements or bugs (e.g. the bug fixed in this release)
are still possible. If you find potential issues, please send bug reports to
(free registration required).
In addition, more detailed description of the BWA-MEM algorithm can be found at
.
(0.7.3: 15 March 2013, r366)
Release 0.7.2 (9 March, 2013)
-----------------------------
Emergent bug fix: 0.7.0 and 0.7.1 give a wrong sign to TLEN. In addition,
flagging 'properly paired' also gets improved a little.
(0.7.2: 9 March 2013, r351)
Release 0.7.1 (8 March, 2013)
-----------------------------
Changes to BWA-MEM:
* Bugfix: rare segmentation fault caused by a partial hit to the end of the
last sequence.
* Bugfix: occasional mis-pairing given an interleaved fastq.
* Bugfix: wrong mate information when the mate is unmapped. SAM generated by
BWA-MEM can now be validated with Picard.
* Improved the performance and accuracy for ultra-long query sequences.
Short-read alignment is not affected.
Changes to other components:
* In BWA-backtrack and BWA-SW, replaced the code for global alignment,
Smith-Waterman and SW extension. The performance and accuracy of the two
algorithms stay the same.
* Added an experimental subcommand to merge overlapping paired ends. The
algorithm is very conservative: it may miss true overlaps but rarely makes
mistakes.
An important note is that like BWA-SW, BWA-MEM may output multiple primary
alignments for a read, which may cause problems to some tools. For aligning
sequence reads, it is advised to use '-M' to flag extra hits as secondary. This
option is not the default because multiple primary alignments are theoretically
possible in sequence alignment.
(0.7.1: 8 March 2013, r347)
Beta Release 0.7.0 (28 Feburary, 2013)
--------------------------------------
This release comes with a new alignment algorithm, BWA-MEM, for 70bp-1Mbp query
sequences. BWA-MEM essentially seeds alignments with a variant of the fastmap
algorithm and extends seeds with banded affine-gap-penalty dynamic programming
(i.e. the Smith-Waterman-Gotoh algorithm). For typical Illumina 100bp reads or
longer low-divergence query sequences, BWA-MEM is about twice as fast as BWA
and BWA-SW and is more accurate. It also supports split alignments like BWA-SW
and may optionally output multiple hits like BWA. BWA-MEM does not guarantee
to find hits within a certain edit distance, but BWA is not efficient for such
task given longer reads anyway, and the edit-distance criterion is arguably
not as important in long-read alignment.
In addition to the algorithmic improvements, BWA-MEM also implements a few
handy features in practical aspects:
1. BWA-MEM automatically switches between local and glocal (global wrt reads;
local wrt reference) alignment. It reports the end-to-end glocal alignment
if the glocal alignment is not much worse than the optimal local alignment.
Glocal alignment reduces reference bias.
2. BWA-MEM automatically infers pair orientation from a batch of single-end
alignments. It allows more than one orientations if there are sufficient
supporting reads. This feature has not been tested on reads from Illumina
jumping library yet. (EXPERIMENTAL)
3. BWA-MEM optionally takes one interleaved fastq for paired-end mapping. It
is possible to convert a name-sorted BAM to an interleaved fastq on the fly
and feed the data stream to BWA-MEM for mapping.
4. BWA-MEM optionally copies FASTA/Q comments to the final SAM output, which
helps to transfer individual read annotations to the output.
5. BWA-MEM supports more advanced piping. Users can now run:
(bwa mem ref.fa '20) CPU cores.
* Check I/O error.
* Increased the maximum barcode length to 63bp.
* Automatically choose the indexing algorithm.
* Bugfix: very rare segfault due to an uninitialized variable. The bug also
affects the placement of suboptimal alignments. The effect is very minor.
This release involves quite a lot of tricky changes. Although it has been
tested on a few data sets, subtle bugs may be still hidden. It is *NOT*
recommended to use this release in a production pipeline. In future, however,
BWA-SW may be better when reads continue to go longer. I would encourage users
to try the 0.6 release. I would also like to hear the users' experience. Thank
you.
(0.6.0: 12 November 2011, r85)
Beta Release 0.5.9 (24 January, 2011)
-------------------------------------
Notable changes:
* Feature: barcode support via the '-B' option.
* Feature: Illumina 1.3+ read format support via the '-I' option.
* Bugfix: RG tags are not attached to unmapped reads.
* Bugfix: very rare bwasw mismappings
* Recommend options for PacBio reads in bwasw help message.
Also, since January 13, the BWA master repository has been moved to github:
https://github.com/lh3/bwa
The revision number has been reset. All recent changes will be first
committed to this repository.
(0.5.9: 24 January 2011, r16)
Beta Release Candidate 0.5.9rc1 (10 December, 2010)
---------------------------------------------------
Notable changes in bwasw:
* Output unmapped reads.
* For a repetitive read, choose a random hit instead of a fixed
one. This is not well tested.
Notable changes in bwa-short:
* Fixed a bug in the SW scoring system, which may lead to unexpected
gaps towards the end of a read.
* Fixed a bug which invalidates the randomness of repetitive reads.
* Fixed a rare memory leak.
* Allowed to specify the read group at the command line.
* Take name-grouped BAM files as input.
Changes to this release are usually safe in that they do not interfere
with the key functionality. However, the release has only been tested on
small samples instead of on large-scale real data. If anything weird
happens, please report the bugs to the bio-bwa-help mailing list.
(0.5.9rc1: 10 December 2010, r1561)
Beta Release 0.5.8 (8 June, 2010)
---------------------------------
Notable changes in bwasw:
* Fixed an issue of missing alignments. This should happen rarely and
only when the contig/read alignment is multi-part. Very rarely, bwasw
may still miss a segment in a multi-part alignment. This is difficult
to fix, although possible.
Notable changes in bwa-short:
* Discard the SW alignment when the best single-end alignment is much
better. Such a SW alignment may caused by structural variations and
forcing it to be aligned leads to false alignment. This fix has not
been tested thoroughly. It would be great to receive more users
feedbacks on this issue.
* Fixed a typo/bug in sampe which leads to unnecessarily large memory
usage in some cases.
* Further reduced the chance of reporting 'weird pairing'.
(0.5.8: 8 June 2010, r1442)
Beta Release 0.5.7 (1 March, 2010)
----------------------------------
This release only has an effect on paired-end data with fat insert-size
distribution. Users are still recommended to update as the new release
improves the robustness to poor data.
* The fix for 'weird pairing' was not working in version 0.5.6, pointed
out by Carol Scott. It should work now.
* Optionally output to a normal file rather than to stdout (by Tim
Fennel).
(0.5.7: 1 March 2010, r1310)
Beta Release 0.5.6 (10 Feburary, 2010)
--------------------------------------
Notable changes in bwa-short:
* Report multiple hits in the SAM format at a new tag XA encoded as:
(chr,pos,CIGAR,NM;)*. By default, if a paired or single-end read has
4 or fewer hits, they will all be reported; if a read in a anomalous
pair has 11 or fewer hits, all of them will be reported.
* Perform Smith-Waterman alignment also for anomalous read pairs when
both ends have quality higher than 17. This reduces false positives
for some SV discovery algorithms.
* Do not report "weird pairing" when the insert size distribution is
too fat or has a mean close to zero.
* If a read is bridging two adjacent chromsomes, flag it as unmapped.
* Fixed a small but long existing memory leak in paired-end mapping.
* Multiple bug fixes in SOLiD mapping: a) quality "-1" can be correctly
parsed by solid2fastq.pl; b) truncated quality string is resolved; c)
SOLiD read mapped to the reverse strand is complemented.
* Bwa now calculates skewness and kurtosis of the insert size
distribution.
* Deploy a Bayesian method to estimate the maximum distance for a read
pair considered to be paired properly. The method is proposed by
Gerton Lunter, but bwa only implements a simplified version.
* Export more functions for Java bindings, by Matt Hanna (See:
http://www.broadinstitute.org/gsa/wiki/index.php/Sting_BWA/C_bindings)
* Abstract bwa CIGAR for further extension, by Rodrigo Goya.
(0.5.6: 10 Feburary 2010, r1303)
Beta Release 0.5.5 (10 November, 2009)
--------------------------------------
This is a bug fix release:
* Fixed a serious bug/typo in aln which does not occur given short
reads, but will lead to segfault for >500bp reads. Of course, the aln
command is not recommended for reads longer than 200bp, but this is a
bug anyway.
* Fixed a minor bug/typo which leads to incorrect single-end mapping
quality when one end is moved to meet the mate-pair requirement.
* Fixed a bug in samse for mapping in the color space. This bug is
caused by quality filtration added since 0.5.1.
(0.5.5: 10 November 2009, r1273)
Beta Release 0.5.4 (9 October, 2009)
------------------------------------
Since this version, the default seed length used in the "aln" command is
changed to 32.
Notable changes in bwa-short:
* Added a new tag "XC:i" which gives the length of clipped reads.
* In sampe, skip alignments in case of a bug in the Smith-Waterman
alignment module.
* In sampe, fixed a bug in pairing when the read sequence is identical
to its reverse complement.
* In sampe, optionally preload the entire FM-index into memory to
reduce disk operations.
Notable changes in dBWT-SW/BWA-SW:
* Changed name dBWT-SW to BWA-SW.
* Optionally use "hard clipping" in the SAM output.
(0.5.4: 9 October 2009, r1245)
Beta Release 0.5.3 (15 September, 2009)
---------------------------------------
Fixed a critical bug in bwa-short: reads mapped to the reverse strand
are not complemented.
(0.5.3: 15 September 2009, r1225)
Beta Release 0.5.2 (13 September, 2009)
---------------------------------------
Notable changes in bwa-short:
* Optionally trim reads before alignment. See the manual page on 'aln
-q' for detailed description.
* Fixed a bug in calculating the NM tag for a gapped alignment.
* Fixed a bug given a mixture of reads with some longer than the seed
length and some shorter.
* Print SAM header.
Notable changes in dBWT-SW:
* Changed the default value of -T to 30. As a result, the accuracy is a
little higher for short reads at the cost of speed.
(0.5.2: 13 September 2009, r1223)
Beta Release 0.5.1 (2 September, 2009)
--------------------------------------
Notable changes in the short read alignment component:
* Fixed a bug in samse: do not write mate coordinates.
Notable changes in dBWT-SW:
* Randomly choose one alignment if the read is a repetitive.
* Fixed a flaw when a read is mapped across two adjacent reference
sequences. However, wrong alignment reports may still occur rarely in
this case.
* Changed the default band width to 50. The speed is slower due to this
change.
* Improved the mapping quality a little given long query sequences.
(0.5.1: 2 September 2009, r1209)
Beta Release 0.5.0 (20 August, 2009)
------------------------------------
This release implements a novel algorithm, dBWT-SW, specifically
designed for long reads. It is 10-50 times faster than SSAHA2, depending
on the characteristics of the input data, and achieves comparable
alignment accuracy while allowing chimera detection. In comparison to
BLAT, dBWT-SW is several times faster and much more accurate especially
when the error rate is high. Please read the manual page for more
information.
The dBWT-SW algorithm is kind of developed for future sequencing
technologies which produce much longer reads with a little higher error
rate. It is still at its early development stage. Some features are
missing and it may be buggy although I have evaluated on several
simulated and real data sets. But following the "release early"
paradigm, I would like the users to try it first.
Other notable changes in BWA are:
* Fixed a rare bug in the Smith-Waterman alignment module.
* Fixed a rare bug about the wrong alignment coordinate when a read is
poorly aligned.
* Fixed a bug in generating the "mate-unmap" SAM tag when both ends in
a pair are unmapped.
(0.5.0: 20 August 2009, r1200)
Beta Release 0.4.9 (19 May, 2009)
---------------------------------
Interestingly, the integer overflow bug claimed to be fixed in 0.4.7 has
not in fact. Now I have fixed the bug. Sorry for this and thank Quan
Long for pointing out the bug (again).
(0.4.9: 19 May 2009, r1075)
Beta Release 0.4.8 (18 May, 2009)
---------------------------------
One change to "aln -R". Now by default, if there are no more than '-R'
equally best hits, bwa will search for suboptimal hits. This change
affects the ability in finding SNPs in segmental duplications.
I have not tested this option thoroughly, but this simple change is less
likely to cause new bugs. Hope I am right.
(0.4.8: 18 May 2009, r1073)
Beta Release 0.4.7 (12 May, 2009)
---------------------------------
Notable changes:
* Output SM (single-end mapping quality) and AM (smaller mapping
quality among the two ends) tag from sam output.
* Improved the functionality of stdsw.
* Made the XN tag more accurate.
* Fixed a very rare segfault caused by integer overflow.
* Improve the insert size estimation.
* Fixed compiling errors for some Linux systems.
(0.4.7: 12 May 2009, r1066)
Beta Release 0.4.6 (9 March, 2009)
----------------------------------
This release improves the SOLiD support. First, a script for converting
SOLiD raw data is provided. This script is adapted from solid2fastq.pl
in the MAQ package. Second, a nucleotide reference file can be directly
used with 'bwa index'. Third, SOLiD paired-end support is
completed. Fourth, color-space reads will be converted to nucleotides
when SAM output is generated. Color errors are corrected in this
process. Please note that like MAQ, BWA cannot make use of the primer
base and the first color.
In addition, the calculation of mapping quality is also improved a
little bit, although end-users may barely observe the difference.
(0.4.6: 9 March 2009, r915)
Beta Release 0.4.5 (18 Feburary, 2009)
--------------------------------------
Not much happened, but I think it would be good to let the users use the
latest version.
Notable changes (Thank Bob Handsaker for catching the two bugs):
* Improved bounary check. Previous version may still give incorrect
alignment coordinates in rare cases.
* Fixed a bug in SW alignment when no residue matches. This only
affects the 'sampe' command.
* Robustly estimate insert size without setting the maximum on the
command line. Since this release 'sampe -a' only has an effect if
there are not enough good pairs to infer the insert size
distribution.
* Reduced false PE alignments a little bit by using the inferred insert
size distribution. This fix may be more important for long insert
size libraries.
(0.4.5: 18 Feburary 2009, r829)
Beta Release 0.4.4 (15 Feburary, 2009)
--------------------------------------
This is mainly a bug fix release. Notable changes are:
* Imposed boundary check for extracting subsequence from the
genome. Previously this causes memory problem in rare cases.
* Fixed a bug in failing to find whether an alignment overlapping with
N on the genome.
* Changed MD tag to meet the latest SAM specification.
(0.4.4: 15 Feburary 2009, r815)
Beta Release 0.4.3 (22 January, 2009)
------------------------------------
Notable changes:
* Treat an ambiguous base N as a mismatch. Previous versions will not
map reads containing any N.
* Automatically choose the maximum allowed number of differences. This
is important when reads of different lengths are mixed together.
* Print mate coordinate if only one end is unmapped.
* Generate MD tag. This tag encodes the mismatching positions and the
reference bases at these positions. Deletions from the reference will
also be printed.
* Optionally dump multiple hits from samse, in another concise format
rather than SAM.
* Optionally disable iterative search. This is VERY SLOOOOW, though.
* Fixed a bug in generate SAM.
(0.4.3: 22 January 2009, r787)
Beta Release 0.4.2 (9 January, 2009)
------------------------------------
Aaron Quinlan found a bug in the indexer: the bwa indexer segfaults if
there are no comment texts in the FASTA header. This is a critical
bug. Nothing else was changed.
(0.4.2: 9 January 2009, r769)
Beta Release 0.4.1 (7 January, 2009)
------------------------------------
I am sorry for the quick updates these days. I like to set a milestone
for BWA and this release seems to be. For paired end reads, BWA also
does Smith-Waterman alignment for an unmapped read whose mate can be
mapped confidently. With this strategy BWA achieves similar accuracy to
maq. Benchmark is also updated accordingly.
(0.4.1: 7 January 2009, r760)
Beta Release 0.4.0 (6 January, 2009)
------------------------------------
In comparison to the release two days ago, this release is mainly tuned
for performance with some tricks I learnt from Bowtie. However, as the
indexing format has also been changed, I have to increase the version
number to 0.4.0 to emphasize that *DATABASE MUST BE RE-INDEXED* with
'bwa index'.
* Improved the speed by about 20%.
* Added multi-threading to 'bwa aln'.
(0.4.0: 6 January 2009, r756)
Beta Release 0.3.0 (4 January, 2009)
------------------------------------
* Added paired-end support by separating SA calculation and alignment
output.
* Added SAM output.
* Added evaluation to the documentation.
(0.3.0: 4 January 2009, r741)
Beta Release 0.2.0 (15 Augusst, 2008)
-------------------------------------
* Take the subsequence at the 5'-end as seed. Seeding strategy greatly
improves the speed for long reads, at the cost of missing a few true
hits that contain many differences in the seed. Seeding also increase
the memory by 800MB.
* Fixed a bug which may miss some gapped alignments. Fixing the bug
also slows the speed a little.
(0.2.0: 15 August 2008, r428)
Beta Release 0.1.6 (08 Augusst, 2008)
-------------------------------------
* Give accurate CIGAR string.
* Add a simple interface to SW/NW alignment
(0.1.6: 08 August 2008, r414)
Beta Release 0.1.5 (27 July, 2008)
----------------------------------
* Improve the speed. This version is expected to give the same results.
(0.1.5: 27 July 2008, r400)
Beta Release 0.1.4 (22 July, 2008)
----------------------------------
* Fixed a bug which may cause missing gapped alignments.
* More clearly define what alignments can be found by BWA (See
manual). Now BWA runs a little slower because it will visit more
potential gapped alignments.
* A bit code clean up.
(0.1.4: 22 July 2008, r387)
Beta Release 0.1.3 (21 July, 2008)
----------------------------------
Improve the speed with some tricks on retrieving occurences. The results
should be exactly the same as that of 0.1.2.
(0.1.3: 21 July 2008, r382)
Beta Release 0.1.2 (17 July, 2008)
----------------------------------
Support gapped alignment. Codes for ungapped alignment has been removed.
(0.1.2: 17 July 2008, r371)
Beta Release 0.1.1 (03 June, 2008)
-----------------------------------
This is the first release of BWA, Burrows-Wheeler Alignment tool. Please
read man page for more information about this software.
(0.1.1: 03 June 2008, r349)
bwa-0.7.17/QSufSort.c 0000664 0000000 0000000 00000030536 13173421171 0014260 0 ustar 00root root 0000000 0000000 /* QSufSort.c
Original source from qsufsort.c
Copyright 1999, N. Jesper Larsson, all rights reserved.
This file contains an implementation of the algorithm presented in "Faster
Suffix Sorting" by N. Jesper Larsson (jesper@cs.lth.se) and Kunihiko
Sadakane (sada@is.s.u-tokyo.ac.jp).
This software may be used freely for any purpose. However, when distributed,
the original source must be clearly stated, and, when the source code is
distributed, the copyright notice must be retained and any alterations in
the code must be clearly marked. No warranty is given regarding the quality
of this software.
Modified by Wong Chi-Kwong, 2004
Changes summary: - Used long variable and function names
- Removed global variables
- Replace pointer references with array references
- Used insertion sort in place of selection sort and increased insertion sort threshold
- Reconstructing suffix array from inverse becomes an option
- Add handling where end-of-text symbol is not necessary < all characters
- Removed codes for supporting alphabet size > number of characters
No warrenty is given regarding the quality of the modifications.
*/
#include
#include
#include
#include "QSufSort.h"
#define min(value1, value2) ( ((value1) < (value2)) ? (value1) : (value2) )
#define med3(a, b, c) ( ac ? b : a>c ? c : a))
#define swap(a, b, t); t = a; a = b; b = t;
// Static functions
static void QSufSortSortSplit(qsint_t* __restrict V, qsint_t* __restrict I, const qsint_t lowestPos,
const qsint_t highestPos, const qsint_t numSortedChar);
static qsint_t QSufSortChoosePivot(qsint_t* __restrict V, qsint_t* __restrict I, const qsint_t lowestPos,
const qsint_t highestPos, const qsint_t numSortedChar);
static void QSufSortInsertSortSplit(qsint_t* __restrict V, qsint_t* __restrict I, const qsint_t lowestPos,
const qsint_t highestPos, const qsint_t numSortedChar);
static void QSufSortBucketSort(qsint_t* __restrict V, qsint_t* __restrict I, const qsint_t numChar, const qsint_t alphabetSize);
static qsint_t QSufSortTransform(qsint_t* __restrict V, qsint_t* __restrict I, const qsint_t numChar, const qsint_t largestInputSymbol,
const qsint_t smallestInputSymbol, const qsint_t maxNewAlphabetSize, qsint_t *numSymbolAggregated);
/* Makes suffix array p of x. x becomes inverse of p. p and x are both of size
n+1. Contents of x[0...n-1] are integers in the range l...k-1. Original
contents of x[n] is disregarded, the n-th symbol being regarded as
end-of-string smaller than all other symbols.*/
void QSufSortSuffixSort(qsint_t* __restrict V, qsint_t* __restrict I, const qsint_t numChar, const qsint_t largestInputSymbol,
const qsint_t smallestInputSymbol, const int skipTransform)
{
qsint_t i, j;
qsint_t s, negatedSortedGroupLength;
qsint_t numSymbolAggregated;
qsint_t numSortedPos = 1;
qsint_t newAlphabetSize;
if (!skipTransform) {
/* bucketing possible*/
newAlphabetSize = QSufSortTransform(V, I, numChar, largestInputSymbol, smallestInputSymbol,
numChar, &numSymbolAggregated);
QSufSortBucketSort(V, I, numChar, newAlphabetSize);
I[0] = -1;
V[numChar] = 0;
numSortedPos = numSymbolAggregated;
}
while ((qsint_t)(I[0]) >= -(qsint_t)numChar) {
i = 0;
negatedSortedGroupLength = 0;
do {
s = I[i];
if (s < 0) {
i -= s; /* skip over sorted group.*/
negatedSortedGroupLength += s;
} else {
if (negatedSortedGroupLength) {
I[i+negatedSortedGroupLength] = negatedSortedGroupLength; /* combine preceding sorted groups */
negatedSortedGroupLength = 0;
}
j = V[s] + 1;
QSufSortSortSplit(V, I, i, j - 1, numSortedPos);
i = j;
}
} while (i <= numChar);
if (negatedSortedGroupLength) {
/* array ends with a sorted group.*/
I[i+negatedSortedGroupLength] = negatedSortedGroupLength; /* combine sorted groups at end of I.*/
}
numSortedPos *= 2; /* double sorted-depth.*/
}
}
void QSufSortGenerateSaFromInverse(const qsint_t* V, qsint_t* __restrict I, const qsint_t numChar)
{
qsint_t i;
for (i=0; i<=numChar; i++)
I[V[i]] = i + 1;
}
/* Sorting routine called for each unsorted group. Sorts the array of integers
(suffix numbers) of length n starting at p. The algorithm is a ternary-split
quicksort taken from Bentley & McIlroy, "Engineering a Sort Function",
Software -- Practice and Experience 23(11), 1249-1265 (November 1993). This
function is based on Program 7.*/
static void QSufSortSortSplit(qsint_t* __restrict V, qsint_t* __restrict I, const qsint_t lowestPos,
const qsint_t highestPos, const qsint_t numSortedChar) {
qsint_t a, b, c, d;
qsint_t l, m;
qsint_t f, v, s, t;
qsint_t tmp;
qsint_t numItem;
numItem = highestPos - lowestPos + 1;
if (numItem <= INSERT_SORT_NUM_ITEM) {
QSufSortInsertSortSplit(V, I, lowestPos, highestPos, numSortedChar);
return;
}
v = QSufSortChoosePivot(V, I, lowestPos, highestPos, numSortedChar);
a = b = lowestPos;
c = d = highestPos;
while (1) {
while (c >= b && (f = KEY(V, I, b, numSortedChar)) <= v) {
if (f == v) {
swap(I[a], I[b], tmp);
a++;
}
b++;
}
while (c >= b && (f = KEY(V, I, c, numSortedChar)) >= v) {
if (f == v) {
swap(I[c], I[d], tmp);
d--;
}
c--;
}
if (b > c)
break;
swap(I[b], I[c], tmp);
b++;
c--;
}
s = a - lowestPos;
t = b - a;
s = min(s, t);
for (l = lowestPos, m = b - s; m < b; l++, m++) {
swap(I[l], I[m], tmp);
}
s = d - c;
t = highestPos - d;
s = min(s, t);
for (l = b, m = highestPos - s + 1; m <= highestPos; l++, m++) {
swap(I[l], I[m], tmp);
}
s = b - a;
t = d - c;
if (s > 0)
QSufSortSortSplit(V, I, lowestPos, lowestPos + s - 1, numSortedChar);
// Update group number for equal portion
a = lowestPos + s;
b = highestPos - t;
if (a == b) {
// Sorted group
V[I[a]] = a;
I[a] = -1;
} else {
// Unsorted group
for (c=a; c<=b; c++)
V[I[c]] = b;
}
if (t > 0)
QSufSortSortSplit(V, I, highestPos - t + 1, highestPos, numSortedChar);
}
/* Algorithm by Bentley & McIlroy.*/
static qsint_t QSufSortChoosePivot(qsint_t* __restrict V, qsint_t* __restrict I, const qsint_t lowestPos,
const qsint_t highestPos, const qsint_t numSortedChar) {
qsint_t m;
qsint_t keyl, keym, keyn;
qsint_t key1, key2, key3;
qsint_t s;
qsint_t numItem;
numItem = highestPos - lowestPos + 1;
m = lowestPos + numItem / 2;
s = numItem / 8;
key1 = KEY(V, I, lowestPos, numSortedChar);
key2 = KEY(V, I, lowestPos+s, numSortedChar);
key3 = KEY(V, I, lowestPos+2*s, numSortedChar);
keyl = med3(key1, key2, key3);
key1 = KEY(V, I, m-s, numSortedChar);
key2 = KEY(V, I, m, numSortedChar);
key3 = KEY(V, I, m+s, numSortedChar);
keym = med3(key1, key2, key3);
key1 = KEY(V, I, highestPos-2*s, numSortedChar);
key2 = KEY(V, I, highestPos-s, numSortedChar);
key3 = KEY(V, I, highestPos, numSortedChar);
keyn = med3(key1, key2, key3);
return med3(keyl, keym, keyn);
}
/* Quadratic sorting method to use for small subarrays. */
static void QSufSortInsertSortSplit(qsint_t* __restrict V, qsint_t* __restrict I, const qsint_t lowestPos,
const qsint_t highestPos, const qsint_t numSortedChar)
{
qsint_t i, j;
qsint_t tmpKey, tmpPos;
qsint_t numItem;
qsint_t key[INSERT_SORT_NUM_ITEM], pos[INSERT_SORT_NUM_ITEM];
qsint_t negativeSortedLength;
qsint_t groupNum;
numItem = highestPos - lowestPos + 1;
for (i=0; i0 && key[j-1] > tmpKey; j--) {
key[j] = key[j-1];
pos[j] = pos[j-1];
}
key[j] = tmpKey;
pos[j] = tmpPos;
}
negativeSortedLength = -1;
i = numItem - 1;
groupNum = highestPos;
while (i > 0) {
I[i+lowestPos] = pos[i];
V[I[i+lowestPos]] = groupNum;
if (key[i-1] == key[i]) {
negativeSortedLength = 0;
} else {
if (negativeSortedLength < 0)
I[i+lowestPos] = negativeSortedLength;
groupNum = i + lowestPos - 1;
negativeSortedLength--;
}
i--;
}
I[lowestPos] = pos[0];
V[I[lowestPos]] = groupNum;
if (negativeSortedLength < 0)
I[lowestPos] = negativeSortedLength;
}
/* Bucketsort for first iteration.
Input: x[0...n-1] holds integers in the range 1...k-1, all of which appear
at least once. x[n] is 0. (This is the corresponding output of transform.) k
must be at most n+1. p is array of size n+1 whose contents are disregarded.
Output: x is V and p is I after the initial sorting stage of the refined
suffix sorting algorithm.*/
static void QSufSortBucketSort(qsint_t* __restrict V, qsint_t* __restrict I, const qsint_t numChar, const qsint_t alphabetSize)
{
qsint_t i, c;
qsint_t d;
qsint_t groupNum;
qsint_t currentIndex;
// mark linked list empty
for (i=0; i0; i--) {
c = I[i-1];
d = (qsint_t)(V[c]);
groupNum = currentIndex;
V[c] = groupNum;
if (d >= 0) {
I[currentIndex] = c;
while (d >= 0) {
c = d;
d = V[c];
V[c] = groupNum;
currentIndex--;
I[currentIndex] = c;
}
} else {
// sorted group
I[currentIndex] = -1;
}
currentIndex--;
}
}
/* Transforms the alphabet of x by attempting to aggregate several symbols into
one, while preserving the suffix order of x. The alphabet may also be
compacted, so that x on output comprises all integers of the new alphabet
with no skipped numbers.
Input: x is an array of size n+1 whose first n elements are positive
integers in the range l...k-1. p is array of size n+1, used for temporary
storage. q controls aggregation and compaction by defining the maximum intue
for any symbol during transformation: q must be at least k-l; if q<=n,
compaction is guaranteed; if k-l>n, compaction is never done; if q is
INT_MAX, the maximum number of symbols are aggregated into one.
Output: Returns an integer j in the range 1...q representing the size of the
new alphabet. If j<=n+1, the alphabet is compacted. The global variable r is
set to the number of old symbols grouped into one. Only x[n] is 0.*/
static qsint_t QSufSortTransform(qsint_t* __restrict V, qsint_t* __restrict I, const qsint_t numChar, const qsint_t largestInputSymbol,
const qsint_t smallestInputSymbol, const qsint_t maxNewAlphabetSize, qsint_t *numSymbolAggregated)
{
qsint_t c, i, j;
qsint_t a; // numSymbolAggregated
qsint_t mask;
qsint_t minSymbolInChunk = 0, maxSymbolInChunk = 0;
qsint_t newAlphabetSize;
qsint_t maxNumInputSymbol, maxNumBit, maxSymbol;
maxNumInputSymbol = largestInputSymbol - smallestInputSymbol + 1;
for (maxNumBit = 0, i = maxNumInputSymbol; i; i >>= 1) ++maxNumBit;
maxSymbol = QSINT_MAX >> maxNumBit;
c = maxNumInputSymbol;
for (a = 0; a < numChar && maxSymbolInChunk <= maxSymbol && c <= maxNewAlphabetSize; a++) {
minSymbolInChunk = (minSymbolInChunk << maxNumBit) | (V[a] - smallestInputSymbol + 1);
maxSymbolInChunk = c;
c = (maxSymbolInChunk << maxNumBit) | maxNumInputSymbol;
}
mask = (1 << (a-1) * maxNumBit) - 1; /* mask masks off top old symbol from chunk.*/
V[numChar] = smallestInputSymbol - 1; /* emulate zero terminator.*/
/* bucketing possible, compact alphabet.*/
for (i=0; i<=maxSymbolInChunk; i++)
I[i] = 0; /* zero transformation table.*/
c = minSymbolInChunk;
for (i=a; i<=numChar; i++) {
I[c] = 1; /* mark used chunk symbol.*/
c = ((c & mask) << maxNumBit) | (V[i] - smallestInputSymbol + 1); /* shift in next old symbol in chunk.*/
}
for (i=1; i