c23413b
Name:		bfast
720230e
Version:	0.7.0a
dfc4785
Release:	3%{?dist}
c23413b
Summary:	Blat-like Fast Accurate Search Tool
c23413b
c23413b
Group:		Applications/Engineering
c23413b
License:	GPLv2 and MIT
c23413b
URL:		http://bfast.sourceforge.net
c23413b
Source0:	http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
c23413b
Patch0:		%{name}-pthread.patch
c23413b
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
c23413b
c23413b
BuildRequires:	zlib-devel bzip2-devel
c23413b
c23413b
%description
c23413b
c23413b
BFAST facilitates the fast and accurate mapping of short reads to
c23413b
reference sequences.  Some advantages of BFAST include:
c23413b
c23413b
Speed: enables billions of short reads to be mapped quickly.
c23413b
c23413b
Accuracy: A priori probabilities for mapping reads with defined set of variants.
c23413b
c23413b
An easy way to measurably tune accuracy at the expense of speed.
c23413b
c23413b
Specifically, BFAST was designed to facilitate whole-genome
c23413b
resequencing, where mapping billions of short reads with variants is
c23413b
of utmost importance.
c23413b
c23413b
BFAST supports both Illumina and ABI SOLiD data, as well as any other
c23413b
Next-Generation Sequencing Technology (454, Helicos), with particular
c23413b
emphasis on sensitivity towards errors, SNPs and especially
c23413b
indels. Other algorithms take short-cuts by ignoring errors, certain
c23413b
types of variants (indels), and even require further alignment, all to
c23413b
be the "fastest" (but still not complete). BFAST is able to be tuned
c23413b
to find variants regardless of the error-rate, polymorphism rate, or
c23413b
other factors.
c23413b
c23413b
c23413b
%prep
c23413b
%setup -q
c23413b
%patch0 -p1 
c23413b
c23413b
# temporary fix for 32-bit build problem
c23413b
sed -i '/^extended_CFLAGS=/ s/-m64//' configure
c23413b
c23413b
%build
c23413b
%configure
c23413b
make %{?_smp_mflags} CFLAGS="%{optflags}"
c23413b
c23413b
c23413b
%install
c23413b
rm -rf %{buildroot}
c23413b
make install DESTDIR=%{buildroot}
c23413b
c23413b
rm %{buildroot}/%{_docdir}/%{name}/LICENSE
c23413b
rm %{buildroot}/%{_docdir}/%{name}/bfast-book.pdf
c23413b
c23413b
%clean
c23413b
rm -rf %{buildroot}
c23413b
c23413b
c23413b
%files
c23413b
%defattr(-,root,root,-)
c23413b
%doc AUTHORS ChangeLog NEWS README LICENSE
c23413b
%doc manual/bfast-book.pdf
c23413b
%{_bindir}/balignmentscoredistribution
c23413b
%{_bindir}/balignsim
c23413b
%{_bindir}/bevalsim
c23413b
%{_bindir}/bfast
c23413b
%{_bindir}/bfast.resubmit.pl
c23413b
%{_bindir}/bfast.submit.pl
c23413b
%{_bindir}/bgeneratereads
c23413b
%{_bindir}/bindexdist
c23413b
%{_bindir}/bindexhist
c23413b
%{_bindir}/bmfmerge
c23413b
%{_bindir}/brepeat
c23413b
%{_bindir}/btestindexes
c23413b
%{_bindir}/ill2fastq.pl
c23413b
%{_bindir}/solid2fastq
c23413b
c23413b
c23413b
%changelog
dfc4785
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.0a-3
dfc4785
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
dfc4785
48561a1
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.0a-2
48561a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
48561a1
720230e
* Tue Nov  1 2011 Adam Huffman <bloch@verdurin.com> - 0.7.0a-1
720230e
- new upstream release 0.7.0a including paired end and mate pair improvements
720230e
3eb99e8
* Fri May 27 2011 Adam Huffman <bloch@verdurin.com> - 0.6.5a-1
3eb99e8
- new upstream release
3eb99e8
- remove obsolete file deletion
3eb99e8
7edc7df
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.4e-2
7edc7df
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
7edc7df
64aa1f7
* Thu Oct 14 2010 Adam Huffman <bloch@verdurin.com> - 0.6.4e-1
64aa1f7
- new upstream bugfix release
64aa1f7
- solid2fastq.pl removed upstream
64aa1f7
c23413b
* Wed Jun 23 2010 Adam Huffman <bloch@verdurin.com> - 0.6.4d-5
c23413b
- add MIT licence for kseq.h
c23413b
- improve description
c23413b
- clean up URL
c23413b
c23413b
* Tue Jun 22 2010 Adam Huffman <bloch@verdurin.com> - 0.6.4d-4
c23413b
- add temporary fix for problem with 32-bit build
c23413b
c23413b
* Wed Jun 16 2010 Adam Huffman <bloch@verdurin.com> - 0.6.4d-3
c23413b
- temporary release with solid2fastq.pl removed, to avoid conflict with bwa
c23413b
c23413b
* Mon Jun  7 2010 Adam Huffman <bloch@verdurin.com> - 0.6.4d-2
c23413b
- add BR for zlib and bz2
c23413b
- patch to add pthread to linking stage
c23413b
- remove two docs installed by upstream Makefile, to avoid clash with docs
c23413b
c23413b
* Thu Jun  3 2010 Adam Huffman <bloch@verdurin.com> - 0.6.4d-1
c23413b
- initial version
c23413b