diff --git a/minimap2-2.17.tar.gz b/minimap2-2.17.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..d29347cb4e442aa2f336bce03601052f3cbfec6f Binary files /dev/null and b/minimap2-2.17.tar.gz differ diff --git a/minimap2.spec b/minimap2.spec new file mode 100644 index 0000000000000000000000000000000000000000..930bc7a3d1d32a1553f96377e17d779a7f0b6c50 --- /dev/null +++ b/minimap2.spec @@ -0,0 +1,44 @@ +#%global debug_package %{nil} + +Name: minimap2 +Version: 2.17 +Release: 1 +Summary: A versatile pairwise aligner for genomic and spliced nucleotide sequences +License: MIT +URL: https://github.com/lh3/minimap2 +Source0: https://github.com/lh3/minimap2/archive/%{name}-%{version}.tar.gz + +BuildRequires: gcc + +%description +Minimap2 is a versatile sequence alignment program that aligns DNA or mRNA sequences against a large reference database. Typical use cases include: (1) mapping PacBio or Oxford Nanopore genomic reads to the human genome; (2) finding overlaps between long reads with error rate up to ~15%; (3) splice-aware alignment of PacBio Iso-Seq or Nanopore cDNA or Direct RNA reads against a reference genome; (4) aligning Illumina single- or paired-end reads; (5) assembly-to-assembly alignment; (6) full-genome alignment between two closely related species with divergence below ~15%. + +%prep +%setup -q -n %{name}-%{version}/ + +%build +%make_build + +%install +install -d %{buildroot}/%{_bindir} +install -d %{buildroot}/%{_mandir}/man1 +install -m 755 minimap2 %{buildroot}/%{_bindir} +install -m 644 minimap2.1 %{buildroot}/%{_mandir}/man1/ + +%pre +%preun +%post +%postun + +%check + +%files +%license LICENSE.txt +%doc README.md NEWS.md +%{_bindir}/* +%{_mandir}/* + +%changelog +* Sun Mar 29 2020 Wei Xiong +- Package init +