c23413b
Name:		bfast
720230e
Version:	0.7.0a
7e6b136
Release:	31%{?dist}
c23413b
Summary:	Blat-like Fast Accurate Search Tool
c23413b
c23413b
License:	GPLv2 and MIT
dba40ac
URL:		https://github.com/nh13/BFAST
c23413b
Source0:	http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
545e747
Patch0:		%{name}-pthread-new.patch
c23413b
9da3772
BuildRequires:	autoconf
9da3772
BuildRequires:	automake
9da3772
BuildRequires:	gcc
772802b
BuildRequires:	perl-generators
4ef8d30
BuildRequires:	zlib-devel
4ef8d30
BuildRequires:	bzip2-devel
e779ea8
BuildRequires: make
79ca16b
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
48dbaab
# Let configure honor CFLAGS
2b693b8
sed -i -e 's,^\(CFLAGS="${default_CFLAGS} ${extended_CFLAGS}"\),# \1,' configure.ac
2b693b8
# Regenerate butil/Makefile.in to retain
2b693b8
# balignmentscoredistribution_LDADD=-lpthread, otherwise the build fails with
2b693b8
# --as-needed in LDFLAGS, bug #1674691
2b693b8
autoreconf -fi
c23413b
c23413b
%build
48dbaab
# Package expects gnu89 inline semantics
48dbaab
%configure "CFLAGS=${CFLAGS} -fgnu89-inline"
16c3c0f
%make_build
c23413b
c23413b
c23413b
%install
16c3c0f
%make_install
c23413b
c23413b
rm %{buildroot}/%{_docdir}/%{name}/LICENSE
c23413b
rm %{buildroot}/%{_docdir}/%{name}/bfast-book.pdf
c23413b
c23413b
c23413b
%files
48dbaab
%doc AUTHORS ChangeLog NEWS README
c23413b
%doc manual/bfast-book.pdf
48dbaab
%license LICENSE
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
7e6b136
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0a-31
7e6b136
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
7e6b136
8c364af
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0a-30
8c364af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
8c364af
aeb5571
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0a-29
aeb5571
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
aeb5571
a948942
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0a-28
a948942
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
a948942
f18b017
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0a-27
f18b017
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
f18b017
16c3c0f
* Fri Jan 01 2021 Filipe Rosset <rosset.filipe@gmail.com> - 0.7.0a-26
16c3c0f
- Fix FTBFS rhbz#1863246
16c3c0f
52bfc7d
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0a-25
52bfc7d
- Second attempt - Rebuilt for
52bfc7d
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
52bfc7d
fd2ee86
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0a-24
fd2ee86
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
fd2ee86
2638ae4
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0a-23
2638ae4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
2638ae4
4c1ac87
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0a-22
4c1ac87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
4c1ac87
2b693b8
* Mon Jul 15 2019 Petr Pisar <ppisar@redhat.com> - 0.7.0a-21
2b693b8
- Regenerate a build script (bug #1674691)
dba40ac
- Upstream moved to <https://github.com/nh13/BFAST>
2b693b8
70db514
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0a-20
70db514
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
70db514
87d2347
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0a-19
87d2347
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
87d2347
9bb3835
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0a-18
9bb3835
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
9bb3835
10b2621
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0a-17
10b2621
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
10b2621
aa483a2
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0a-16
aa483a2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
aa483a2
4a68d87
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0a-15
4a68d87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
4a68d87
48dbaab
* Fri Feb 19 2016 Ralf Cors├ępius <corsepiu@fedoraproject.org> - 0.7.0a-14
48dbaab
- Let configure honor CFLAGS (F24FTBFS, RHBZ#1307345).
48dbaab
- Append -fgnu89-inline to CFLAGS.
48dbaab
- Re-enable hardening.
48dbaab
- Add %%license.
48dbaab
- Modernize spec.
48dbaab
6c9e534
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0a-13
6c9e534
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
6c9e534
4ef8d30
* Sun Jul 05 2015 Adam Huffman <bloch@verdurin.com> - 0.7.0a-12
4ef8d30
- Disable hardened build temporarily to work around configure problem
4ef8d30
49d4890
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.0a-11
49d4890
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
49d4890
c2da04b
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.0a-10
c2da04b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
c2da04b
79ca16b
* Sat Jun 07 2014 Adam Huffman <bloch@verdurin.com> - 0.7.0a-9
79ca16b
- More aarch64 build fixes
545e747
- Update pthread patch
79ca16b
8d39c3f
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.0a-8
8d39c3f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
8d39c3f
19e6567
* Mon Jun 02 2014 Adam Huffman <bloch@verdurin.com> - 0.7.0a-7
19e6567
- Fix for building on aarch64
19e6567
0903d37
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.0a-6
0903d37
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
0903d37
d5f124b
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 0.7.0a-5
d5f124b
- Perl 5.18 rebuild
d5f124b
7ad29d9
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.0a-4
7ad29d9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
7ad29d9
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