|
|
52b9f8d |
Name: fastx_toolkit
|
|
|
c6bdb2f |
Version: 0.0.14
|
|
|
0bdd88e |
Release: 15%{?dist}
|
|
|
52b9f8d |
Summary: Tools to process short-reads FASTA/FASTQ files
|
|
|
52b9f8d |
|
|
|
52b9f8d |
Group: Applications/Engineering
|
|
|
52b9f8d |
License: AGPLv3+
|
|
|
ab12ea2 |
URL: http://hannonlab.cshl.edu/%{name}/index.html
|
|
|
c6bdb2f |
Source0: http://hannonlab.cshl.edu/%{name}/%{name}-%{version}.tar.bz2
|
|
|
16a3d70 |
Patch0: %{name}-gcc47.patch
|
|
|
52b9f8d |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
52b9f8d |
|
|
|
52b9f8d |
BuildRequires: libgtextutils-devel
|
|
|
0b00ead |
BuildRequires: perl-generators
|
|
|
52b9f8d |
# FASTX-Barcode-Splitter requires the GNU Sed program.
|
|
|
52b9f8d |
Requires: sed
|
|
|
0c9ba0b |
# fasta_clipping_histogram requires PerlIO::gzip and GD::Graph::bars
|
|
|
0c9ba0b |
Requires: perl-PerlIO-gzip
|
|
|
552679d |
Requires: perl-GDGraph
|
|
|
52b9f8d |
|
|
|
52b9f8d |
%description
|
|
|
52b9f8d |
|
|
|
52b9f8d |
The FASTX-Toolkit is a collection of command line tools for
|
|
|
52b9f8d |
Short-Reads FASTA/FASTQ files preprocessing.
|
|
|
52b9f8d |
|
|
|
52b9f8d |
Next-Generation sequencing machines usually produce FASTA or FASTQ
|
|
|
52b9f8d |
files, containing multiple short-reads sequences (possibly with
|
|
|
52b9f8d |
quality information).
|
|
|
52b9f8d |
|
|
|
52b9f8d |
The main processing of such FASTA/FASTQ files is mapping (aka
|
|
|
52b9f8d |
aligning) the sequences to reference genomes or other databases using
|
|
|
52b9f8d |
specialized programs. Example of such mapping programs are: Blat,
|
|
|
52b9f8d |
SHRiMP, LastZ, MAQ and many many others.
|
|
|
52b9f8d |
|
|
|
52b9f8d |
However, It is sometimes more productive to preprocess the FASTA/FASTQ
|
|
|
52b9f8d |
files before mapping the sequences to the genome - manipulating the
|
|
|
52b9f8d |
sequences to produce better mapping results.
|
|
|
52b9f8d |
|
|
|
52b9f8d |
The FASTX-Toolkit tools perform some of these preprocessing tasks.
|
|
|
52b9f8d |
|
|
|
52b9f8d |
%package galaxy
|
|
|
52b9f8d |
Summary: Integrate fastx_toolkit with a local Galaxy installation
|
|
|
52b9f8d |
Group: Applications/Engineering
|
|
|
52b9f8d |
Requires: %{name} = %{version}-%{release}
|
|
|
52b9f8d |
|
|
|
52b9f8d |
|
|
|
52b9f8d |
%description galaxy
|
|
|
52b9f8d |
|
|
|
52b9f8d |
These files allow the integration of fastx_toolkit with a local
|
|
|
52b9f8d |
installation of Galaxy (http://main.g2.bx.psu.edu/), a web-based
|
|
|
52b9f8d |
platform for analyzing multiple alignments, comparing genomic
|
|
|
52b9f8d |
annotations, profiling metagenomic samples and much more.
|
|
|
52b9f8d |
|
|
|
52b9f8d |
|
|
|
52b9f8d |
%prep
|
|
|
52b9f8d |
%setup -q
|
|
|
ab12ea2 |
#Patch to fix compilation with GCC 4.7
|
|
|
ab12ea2 |
%patch0 -p1 -b .%{name}-gcc47.patch
|
|
|
52b9f8d |
|
|
|
52b9f8d |
%build
|
|
|
52b9f8d |
%configure
|
|
|
0c9ba0b |
make %{?_smp_mflags} CFLAGS="%{optflags}" CXXFLAGS="%{optflags} -std=c++11"
|
|
|
52b9f8d |
|
|
|
52b9f8d |
|
|
|
52b9f8d |
%install
|
|
|
52b9f8d |
rm -rf %{buildroot}
|
|
|
52b9f8d |
make install DESTDIR=%{buildroot} INSTALL="install -p"
|
|
|
52b9f8d |
|
|
|
52b9f8d |
mkdir %{buildroot}/%{_datadir}/%{name}
|
|
|
52b9f8d |
cp -a galaxy/ %{buildroot}/%{_datadir}/%{name}
|
|
|
52b9f8d |
|
|
|
52b9f8d |
# remove unnecessary m4 files
|
|
|
52b9f8d |
rm %{buildroot}/%{_datadir}/aclocal/*.m4
|
|
|
52b9f8d |
|
|
|
52b9f8d |
# remove autotools Makefile
|
|
|
52b9f8d |
find %{buildroot}/%{_datadir}/%{name}/galaxy/ -name "Makefile\.*" -delete
|
|
|
52b9f8d |
|
|
|
52b9f8d |
%clean
|
|
|
52b9f8d |
rm -rf %{buildroot}
|
|
|
52b9f8d |
|
|
|
52b9f8d |
|
|
|
52b9f8d |
%files
|
|
|
52b9f8d |
%defattr(-,root,root,-)
|
|
|
52b9f8d |
%doc AUTHORS COPYING NEWS README THANKS
|
|
|
52b9f8d |
%{_bindir}/fast*
|
|
|
52b9f8d |
|
|
|
52b9f8d |
%files galaxy
|
|
|
52b9f8d |
%defattr(-,root,root,-)
|
|
|
52b9f8d |
%{_datadir}/%{name}
|
|
|
52b9f8d |
|
|
|
52b9f8d |
%changelog
|
|
|
0bdd88e |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.14-15
|
|
|
0bdd88e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
0bdd88e |
|
|
|
2404aa3 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.14-14
|
|
|
2404aa3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
2404aa3 |
|
|
|
5ec45f0 |
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 0.0.14-13
|
|
|
5ec45f0 |
- Rebuilt for GCC 5 C++11 ABI change
|
|
|
5ec45f0 |
|
|
|
d10937d |
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.14-12
|
|
|
d10937d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
d10937d |
|
|
|
59f6243 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.14-11
|
|
|
59f6243 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
59f6243 |
|
|
|
c6bdb2f |
* Mon Jun 02 2014 Adam Huffman <bloch@verdurin.com> - 0.0.14-1
|
|
|
c6bdb2f |
- Update to upstream 0.0.14 release
|
|
|
0c9ba0b |
- C++11 standard required
|
|
|
c6bdb2f |
|
|
|
74232bd |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.13-10
|
|
|
74232bd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
74232bd |
|
|
|
5de2764 |
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 0.0.13-9
|
|
|
5de2764 |
- Perl 5.18 rebuild
|
|
|
5de2764 |
|
|
|
ca18f81 |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.13-8
|
|
|
ca18f81 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
ca18f81 |
|
|
|
581bf5b |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.13-7
|
|
|
581bf5b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
581bf5b |
|
|
|
5ed9500 |
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.13-6
|
|
|
5ed9500 |
- Rebuilt for c++ ABI breakage
|
|
|
5ed9500 |
|
|
|
ab12ea2 |
* Mon Jan 9 2012 Adam Huffman <verdurin@fedoraproject.org> - 0.0.13-5
|
|
|
ab12ea2 |
- fix compilation with GCC 4.7
|
|
|
ab12ea2 |
|
|
|
52b9f8d |
* Fri May 27 2011 Adam Huffman <bloch@verdurin.com> - 0.0.13-4
|
|
|
52b9f8d |
- fix ownership of /usr/share/fastx_toolkit
|
|
|
52b9f8d |
|
|
|
52b9f8d |
* Tue Nov 16 2010 Adam Huffman <bloch@verdurin.com> - 0.0.13-3
|
|
|
52b9f8d |
- fix license and remove autotools Makefiles
|
|
|
52b9f8d |
|
|
|
52b9f8d |
* Wed Aug 25 2010 Adam Huffman <bloch@verdurin.com> - 0.0.13-2
|
|
|
52b9f8d |
- fix CFLAGS and CXXFLAGS
|
|
|
52b9f8d |
|
|
|
52b9f8d |
* Tue May 11 2010 Adam Huffman <bloch@verdurin.com> - 0.0.13-1
|
|
|
52b9f8d |
- initial version
|
|
|
52b9f8d |
|