diff options
Diffstat (limited to 'python-cipipe.spec')
| -rw-r--r-- | python-cipipe.spec | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/python-cipipe.spec b/python-cipipe.spec new file mode 100644 index 0000000..bc73b90 --- /dev/null +++ b/python-cipipe.spec @@ -0,0 +1,72 @@ +%global _empty_manifest_terminate_build 0 +Name: python-CIpipe +Version: 1.149 +Release: 1 +Summary: CRISPR Indel pipe +License: GPLv3 +URL: https://zlab.umassmed.edu/CIpipe/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/8d/e7/9b6438e7e27b30e413b78ff3b254bcfc5ca7c8b6228423d89471af599a6c/CIpipe-1.149.tar.gz +BuildArch: noarch + + +%description +CRISPR has been a prevalent and powerful tool for gene editing in recent years. With the appliance of CRISPR, researchers could change DNA structures by inducing indel (insertion/deletion) at specific locus conveniently. In order to examine the efficiency of CRISPR experiment, high-through sequencing on target region will be performed, which brings the computational question. To address this issue, we developed a pipeline, 'CIpipe (CRISPR Indel pipe)', to analyze the target sequencing data for indel after CRISPR experiment. CIpipe is easy to use and can produce understandable results for paper writing quickly. + +%package -n python3-CIpipe +Summary: CRISPR Indel pipe +Provides: python-CIpipe +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-CIpipe +CRISPR has been a prevalent and powerful tool for gene editing in recent years. With the appliance of CRISPR, researchers could change DNA structures by inducing indel (insertion/deletion) at specific locus conveniently. In order to examine the efficiency of CRISPR experiment, high-through sequencing on target region will be performed, which brings the computational question. To address this issue, we developed a pipeline, 'CIpipe (CRISPR Indel pipe)', to analyze the target sequencing data for indel after CRISPR experiment. CIpipe is easy to use and can produce understandable results for paper writing quickly. + +%package help +Summary: Development documents and examples for CIpipe +Provides: python3-CIpipe-doc +%description help +CRISPR has been a prevalent and powerful tool for gene editing in recent years. With the appliance of CRISPR, researchers could change DNA structures by inducing indel (insertion/deletion) at specific locus conveniently. In order to examine the efficiency of CRISPR experiment, high-through sequencing on target region will be performed, which brings the computational question. To address this issue, we developed a pipeline, 'CIpipe (CRISPR Indel pipe)', to analyze the target sequencing data for indel after CRISPR experiment. CIpipe is easy to use and can produce understandable results for paper writing quickly. + +%prep +%autosetup -n CIpipe-1.149 + +%build +%py3_build + +%install +%py3_install +install -d -m755 %{buildroot}/%{_pkgdocdir} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi +if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi +if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi +if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +pushd %{buildroot} +if [ -d usr/lib ]; then + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib64 ]; then + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/bin ]; then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/sbin ]; then + find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst +fi +touch doclist.lst +if [ -d usr/share/man ]; then + find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst +fi +popd +mv %{buildroot}/filelist.lst . +mv %{buildroot}/doclist.lst . + +%files -n python3-CIpipe -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed Apr 12 2023 Python_Bot <Python_Bot@openeuler.org> - 1.149-1 +- Package Spec generated |
