Codebase list fasta3 / 6a6d536
Refresh patches Andreas Tille 1 year, 4 months ago
5 changed file(s) with 239 addition(s) and 494 deletion(s). Raw diff Collapse all Expand all
00 Description: Makefile
11 Forwarded: https://github.com/wrpearson/fasta36/pull/24
2 --- fasta3.orig/make/Makefile
3 +++ fasta3/make/Makefile
4 @@ -5,7 +5,7 @@
5 # Dec 8, 2005 - with gcc4.0.2 (or .1) under Redhat Linux Fedora FC4 -03 breaks the alignment code
6 #
7
8 -CC= gcc -g -O2
9 +CC ?= gcc -g -O2
10
11 #CC=gcc -Wall -pedantic -ansi -g -O
12 #CC = gcc -g -DDEBUG
13 @@ -17,7 +17,7 @@
14 # this file works for x86 LINUX
15
16 # standard options
17 -CFLAGS= -DSHOWSIM -DUNIX -DTIMES -DHZ=100 -DSFCHAR="':'" -DMAX_WORKERS=2 -DTHR_EXIT=pthread_exit -DPROGRESS -DUSE_MMAP -D_REENTRANT -DHAS_INTTYPES -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_FSEEKO -DSAMP_STATS -DPGM_DOC
18 +CFLAGS += -DSHOWSIM -DUNIX -DTIMES -DHZ=100 -DSFCHAR="':'" -DMAX_WORKERS=2 -DTHR_EXIT=pthread_exit -DPROGRESS -DUSE_MMAP -D_REENTRANT -DHAS_INTTYPES -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_FSEEKO -DSAMP_STATS -DPGM_DOC
19 # -I/usr/local/include/mysql -DMYSQL_DB
20 #
21 #(for mySQL databases) (also requires change to Makefile34.common)
22 @@ -34,6 +34,7 @@
23 THR_LIBS = -lpthread
24 THR_CC =
25
26 +BIN = ../bin
27 XDIR = /seqprg/bin
28
29 DROPGSW_NA_O = dropgsw2.o wm_align.o calcons_sw.o
30 --- fasta3.orig/make/Makefile.linux64_sse2
31 +++ fasta3/make/Makefile.linux64_sse2
32 @@ -12,7 +12,8 @@
33
34 SHELL=/bin/bash
35
36 -CC = gcc -g -O -msse2
37 +CC ?= gcc
38 +CFLAGS += -g -O $(CPPFLAGS)
39 LIB_DB=
40
41 #CC= gcc -pg -g -O -msse2 -ffast-math
42 @@ -26,7 +27,7 @@
43
44 # standard options
45
46 -CFLAGS= -DSHOW_HELP -DSHOWSIM -DUNIX -DTIMES -DHZ=100 -DMAX_WORKERS=8 -DTHR_EXIT=pthread_exit -DM10_CONS -D_REENTRANT -DHAS_INTTYPES -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_FSEEKO -DSAMP_STATS -DPGM_DOC -DUSE_MMAP -D_LARGEFILE64_SOURCE -DBIG_LIB64
47 +CFLAGS += -DSHOW_HELP -DSHOWSIM -DUNIX -DTIMES -DHZ=100 -DMAX_WORKERS=8 -DTHR_EXIT=pthread_exit -DM10_CONS -D_REENTRANT -DHAS_INTTYPES -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_FSEEKO -DSAMP_STATS -DPGM_DOC -DUSE_MMAP -D_LARGEFILE64_SOURCE -DBIG_LIB64
48 # -I/usr/include/mysql -DMYSQL_DB
49 # -DSUPERFAMNUM -DSFCHAR="'|'"
50
51 --- fasta3.orig/make/Makefile.linux
52 +++ fasta3/make/Makefile.linux
53 @@ -12,7 +12,7 @@
54
55 SHELL=/bin/bash
56
57 -CC = gcc -g -O -msse2
58 +CC ?= gcc -g -O
59 LIB_DB=
60
61 #CC= gcc -pg -g -O -msse2 -ffast-math
62 @@ -26,7 +26,7 @@
63
64 # standard options
65
66 -CFLAGS= -DSHOW_HELP -DSHOWSIM -DUNIX -DTIMES -DHZ=100 -DMAX_WORKERS=8 -DTHR_EXIT=pthread_exit -DM10_CONS -D_REENTRANT -DHAS_INTTYPES -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_FSEEKO -DSAMP_STATS -DPGM_DOC -DUSE_MMAP -D_LARGEFILE64_SOURCE -DBIG_LIB64
67 +CFLAGS += -DSHOW_HELP -DSHOWSIM -DUNIX -DTIMES -DHZ=100 -DMAX_WORKERS=8 -DTHR_EXIT=pthread_exit -DM10_CONS -D_REENTRANT -DHAS_INTTYPES -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_FSEEKO -DSAMP_STATS -DPGM_DOC -DUSE_MMAP -D_LARGEFILE64_SOURCE -DBIG_LIB64
68 # -I/usr/include/mysql -DMYSQL_DB
69 # -DSUPERFAMNUM -DSFCHAR="'|'"
70
71 --- fasta3.orig/make/Makefile.linux32
72 +++ fasta3/make/Makefile.linux32
73 @@ -16,7 +16,7 @@
74 #LIB_DB=
75
76 #CC=gcc -Wall -pedantic -ansi -g -O
77 -CC= /usr/local/parasoft/bin/insure -g -DDEBUG
78 +#CC= /usr/local/parasoft/bin/insure -g -DDEBUG
79 LIB_DB=-lz
80
81 # EBI uses the following with pgcc, -O3 does not work:
82 @@ -25,7 +25,7 @@
2 --- a/make/Makefile.linux32
3 +++ b/make/Makefile.linux32
4 @@ -25,7 +25,7 @@ LIB_DB=-lz
835 # this file works for x86 LINUX
846
857 # standard options
8810 # -DSFCHAR="'|'" -dSUPERFAMNUM
8911
9012 # -I/usr/local/include/mysql -DMYSQL_DB
91 --- fasta3.orig/make/Makefile.linux32_sse2
92 +++ fasta3/make/Makefile.linux32_sse2
93 @@ -12,7 +12,7 @@
94
95 SHELL=/bin/bash
96
97 -CC= gcc -g -O -msse2 -ffast-math
98 +CC ?= gcc -g -O
99 LIB_DB=
100 #CC = gcc -g -DDEBUG -msse2
101
102 @@ -28,7 +28,7 @@
103
104 # standard options
105
106 -CFLAGS= -DSHOWSIM -DUNIX -DTIMES -DHZ=100 -DMAX_WORKERS=8 -DTHR_EXIT=pthread_exit -DPROGRESS -D_REENTRANT -DHAS_INTTYPES -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_FSEEKO -DSAMP_STATS -DPGM_DOC -DUSE_MMAP
107 +CFLAGS += -ffast-math -DSHOWSIM -DUNIX -DTIMES -DHZ=100 -DMAX_WORKERS=8 -DTHR_EXIT=pthread_exit -DPROGRESS -D_REENTRANT -DHAS_INTTYPES -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_FSEEKO -DSAMP_STATS -DPGM_DOC -DUSE_MMAP
108
109 # -DSUPERFAMNUM -DSFCHAR="'|'"
110
111 --- fasta3.orig/make/Makefile.linux64
112 +++ fasta3/make/Makefile.linux64
113 @@ -12,7 +12,7 @@
114
115 SHELL=/bin/bash
116
117 -CC = gcc -g -O -msse2
118 +CC ?= gcc -g -O
119 LIB_DB=
120
121 #CC= gcc -pg -g -O -msse2 -ffast-math
122 @@ -26,7 +26,7 @@
123
124 # standard options
125
126 -CFLAGS= -DSHOW_HELP -DSHOWSIM -DUNIX -DTIMES -DHZ=100 -DMAX_WORKERS=8 -DTHR_EXIT=pthread_exit -DM10_CONS -D_REENTRANT -DHAS_INTTYPES -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_FSEEKO -DSAMP_STATS -DPGM_DOC -DUSE_MMAP -D_LARGEFILE64_SOURCE -DBIG_LIB64
127 +CFLAGS += -DSHOW_HELP -DSHOWSIM -DUNIX -DTIMES -DHZ=100 -DMAX_WORKERS=8 -DTHR_EXIT=pthread_exit -DM10_CONS -D_REENTRANT -DHAS_INTTYPES -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_FSEEKO -DSAMP_STATS -DPGM_DOC -DUSE_MMAP -D_LARGEFILE64_SOURCE -DBIG_LIB64
128 # -I/usr/include/mysql -DMYSQL_DB
129 # -DSUPERFAMNUM -DSFCHAR="'|'"
130
131 @@ -38,13 +38,13 @@
132 # for mySQL databases
133 # LIB_M = -L/usr/lib64/mysql -lmysqlclient -lm
134
135 -HFLAGS= -o
136 +HFLAGS= $(LDFLAGS) $(CPPFLAGS) -o
137 NFLAGS= -o
138
139 # for Linux
140 THR_SUBS = pthr_subs2
141 THR_LIBS = -lpthread
142 -THR_CC =
143 +THR_CC = $(LDFLAGS) $(CPPFLAGS)
144
145 BIN = ../bin
146 XDIR = /seqprg/bin
147 --- fasta3.orig/make/Makefile.pcom_t
148 +++ fasta3/make/Makefile.pcom_t
149 @@ -171,14 +171,14 @@
150 $(CC) -o print_pssm $(CFLAGS) print_pssm.c getseq.c karlin.c apam.c pssm_asn_subs.c $(LIB_M) $(LIB_DB)
151
152 map_db : map_db.c uascii.h ncbl2_head.h
153 - $(CC) $(CFLAGS) -o $(BIN)/map_db map_db.c
154 + $(CC) $(LDFLAGS) $(CPPFLAGS) $(CFLAGS) -o $(BIN)/map_db map_db.c
155
156 list_db : list_db.c
157 - $(CC) $(CFLAGS) -o $(BIN)/list_db list_db.c
158 + $(CC) $(LDFLAGS) $(CPPFLAGS) $(CFLAGS) -o $(BIN)/list_db list_db.c
159
160
161 lav2ps : lav2plt.o lavplt_ps.o
162 - $(CC) -DUNIX -o $(BIN)/lav2ps lav2plt.o lavplt_ps.o -lm
163 + $(CC) $(LDFLAGS) $(CPPFLAGS) -DUNIX -o $(BIN)/lav2ps lav2plt.o lavplt_ps.o -lm
164
165 lav2svg : lav2plt.o lavplt_svg.o
166 - $(CC) -DUNIX -o $(BIN)/lav2svg lav2plt.o lavplt_svg.o -lm
167 + $(CC) $(LDFLAGS) $(CPPFLAGS) -DUNIX -o $(BIN)/lav2svg lav2plt.o lavplt_svg.o -lm
00 Author: Michael R. Crusoe <michael.crusoe@gmail.com>
11 Description: adjust for installed use
2 --- fasta3.orig/scripts/ann_exons_all.pl
3 +++ fasta3/scripts/ann_exons_all.pl
4 @@ -1,4 +1,4 @@
5 -#!/usr/bin/env perl
6 +#!/usr/bin/perl
7
8 ################################################################
9 # copyright (c) 2014,2015 by William R. Pearson and The Rector &
10 --- fasta3.orig/scripts/ann_exons_ens.pl
11 +++ fasta3/scripts/ann_exons_ens.pl
12 @@ -1,4 +1,4 @@
13 -#!/usr/bin/env perl
14 +#!/usr/bin/perl
15
16 ################################################################
17 # copyright (c) 2014,2015 by William R. Pearson and The Rector &
18 --- fasta3.orig/scripts/ann_exons_ncbi.pl
19 +++ fasta3/scripts/ann_exons_ncbi.pl
2 --- a/scripts/ann_exons_all.pl
3 +++ b/scripts/ann_exons_all.pl
4 @@ -1,4 +1,4 @@
5 -#!/usr/bin/env perl
6 +#!/usr/bin/perl
7
8 ################################################################
9 # copyright (c) 2014,2015 by William R. Pearson and The Rector &
10 --- a/scripts/ann_exons_ens.pl
11 +++ b/scripts/ann_exons_ens.pl
12 @@ -1,4 +1,4 @@
13 -#!/usr/bin/env perl
14 +#!/usr/bin/perl
15
16 ################################################################
17 # copyright (c) 2014,2015 by William R. Pearson and The Rector &
18 --- a/scripts/ann_exons_ncbi.pl
19 +++ b/scripts/ann_exons_ncbi.pl
2020 @@ -1,4 +1,4 @@
2121 -#!/usr/bin/env perl
2222 +#!/usr/bin/perl
2323
2424 # ann_exons_ncbi.pl gets an annotation file from fasta36 -V with a line of the form:
2525
26 --- fasta3.orig/scripts/ann_exons_up_sql.pl
27 +++ fasta3/scripts/ann_exons_up_sql.pl
28 @@ -1,4 +1,4 @@
29 -#!/usr/bin/env perl
30 +#!/usr/bin/perl
31
32 ################################################################
33 # copyright (c) 2014,2015 by William R. Pearson and The Rector &
34 --- fasta3.orig/scripts/ann_exons_up_sql_www.pl
35 +++ fasta3/scripts/ann_exons_up_sql_www.pl
36 @@ -1,4 +1,4 @@
37 -#!/usr/bin/env perl
38 +#!/usr/bin/perl
39
40 ################################################################
41 # copyright (c) 2014,2015 by William R. Pearson and The Rector &
42 --- fasta3.orig/scripts/ann_exons_up_www.pl
43 +++ fasta3/scripts/ann_exons_up_www.pl
44 @@ -1,4 +1,4 @@
45 -#!/usr/bin/env perl
46 +#!/usr/bin/perl
47
48 ################################################################
49 # copyright (c) 2014,2015 by William R. Pearson and The Rector &
50 --- fasta3.orig/scripts/ann_feats2ipr.pl
51 +++ fasta3/scripts/ann_feats2ipr.pl
26 --- a/scripts/ann_exons_up_sql.pl
27 +++ b/scripts/ann_exons_up_sql.pl
28 @@ -1,4 +1,4 @@
29 -#!/usr/bin/env perl
30 +#!/usr/bin/perl
31
32 ################################################################
33 # copyright (c) 2014,2015 by William R. Pearson and The Rector &
34 --- a/scripts/ann_exons_up_sql_www.pl
35 +++ b/scripts/ann_exons_up_sql_www.pl
36 @@ -1,4 +1,4 @@
37 -#!/usr/bin/env perl
38 +#!/usr/bin/perl
39
40 ################################################################
41 # copyright (c) 2014,2015 by William R. Pearson and The Rector &
42 --- a/scripts/ann_exons_up_www.pl
43 +++ b/scripts/ann_exons_up_www.pl
44 @@ -1,4 +1,4 @@
45 -#!/usr/bin/env perl
46 +#!/usr/bin/perl
47
48 ################################################################
49 # copyright (c) 2014,2015 by William R. Pearson and The Rector &
50 --- a/scripts/ann_feats2ipr.pl
51 +++ b/scripts/ann_feats2ipr.pl
5252 @@ -1,4 +1,4 @@
5353 -#!/usr/bin/env perl
5454 +#!/usr/bin/perl
5555
5656 ################################################################
5757 # copyright (c) 2014 by William R. Pearson and The Rector &
58 --- fasta3.orig/scripts/ann_feats2ipr_e.pl
59 +++ fasta3/scripts/ann_feats2ipr_e.pl
58 --- a/scripts/ann_feats2ipr_e.pl
59 +++ b/scripts/ann_feats2ipr_e.pl
6060 @@ -1,4 +1,4 @@
6161 -#!/usr/bin/env perl
6262 +#!/usr/bin/perl
6363
6464 ################################################################
6565 # copyright (c) 2014 by William R. Pearson and The Rector &
66 --- fasta3.orig/scripts/ann_feats_up_sql.pl
67 +++ fasta3/scripts/ann_feats_up_sql.pl
68 @@ -1,4 +1,4 @@
69 -#!/usr/bin/env perl
70 +#!/usr/bin/perl
71
72 ################################################################
73 # copyright (c) 2014,2015 by William R. Pearson and The Rector &
74 --- fasta3.orig/scripts/ann_feats_up_www2.pl
75 +++ fasta3/scripts/ann_feats_up_www2.pl
76 @@ -1,4 +1,4 @@
77 -#!/usr/bin/env perl
78 +#!/usr/bin/perl
79
80 ################################################################
81 # copyright (c) 2014,2015 by William R. Pearson and The Rector &
82 --- fasta3.orig/scripts/ann_ipr_www.pl
83 +++ fasta3/scripts/ann_ipr_www.pl
66 --- a/scripts/ann_feats_up_sql.pl
67 +++ b/scripts/ann_feats_up_sql.pl
68 @@ -1,4 +1,4 @@
69 -#!/usr/bin/env perl
70 +#!/usr/bin/perl
71
72 ################################################################
73 # copyright (c) 2014,2015 by William R. Pearson and The Rector &
74 --- a/scripts/ann_feats_up_www2.pl
75 +++ b/scripts/ann_feats_up_www2.pl
76 @@ -1,4 +1,4 @@
77 -#!/usr/bin/env perl
78 +#!/usr/bin/perl
79
80 ################################################################
81 # copyright (c) 2014,2015 by William R. Pearson and The Rector &
82 --- a/scripts/ann_ipr_www.pl
83 +++ b/scripts/ann_ipr_www.pl
8484 @@ -1,4 +1,4 @@
8585 -#!/usr/bin/env perl
8686 +#!/usr/bin/perl
8787
8888 ################################################################
8989 # copyright (c) 2014 by William R. Pearson and The Rector &
90 --- fasta3.orig/scripts/ann_pdb_cath.pl
91 +++ fasta3/scripts/ann_pdb_cath.pl
90 --- a/scripts/ann_pdb_cath.pl
91 +++ b/scripts/ann_pdb_cath.pl
9292 @@ -1,4 +1,4 @@
9393 -#!/usr/bin/env perl
9494 +#!/usr/bin/perl
9595
9696 ################################################################
9797 # copyright (c) 2014 by William R. Pearson and The Rector &
98 --- fasta3.orig/scripts/ann_pdb_vast.pl
99 +++ fasta3/scripts/ann_pdb_vast.pl
98 --- a/scripts/ann_pdb_vast.pl
99 +++ b/scripts/ann_pdb_vast.pl
100100 @@ -1,4 +1,4 @@
101101 -#!/usr/bin/env perl
102102 +#!/usr/bin/perl
103103
104104 ################################################################
105105 # copyright (c) 2014, 2015 by William R. Pearson and The Rector &
106 --- fasta3.orig/scripts/ann_pfam30_tmptbl.pl
107 +++ fasta3/scripts/ann_pfam30_tmptbl.pl
108 @@ -1,4 +1,4 @@
109 -#!/usr/bin/env perl
110 +#!/usr/bin/perl
111
112 ################################################################
113 # copyright (c) 2014,2015 by William R. Pearson and The Rector &
114 --- fasta3.orig/scripts/ann_pfam_sql.pl
115 +++ fasta3/scripts/ann_pfam_sql.pl
106 --- a/scripts/ann_pfam30_tmptbl.pl
107 +++ b/scripts/ann_pfam30_tmptbl.pl
108 @@ -1,4 +1,4 @@
109 -#!/usr/bin/env perl
110 +#!/usr/bin/perl
111
112 ################################################################
113 # copyright (c) 2014,2015 by William R. Pearson and The Rector &
114 --- a/scripts/ann_pfam_sql.pl
115 +++ b/scripts/ann_pfam_sql.pl
116116 @@ -1,4 +1,4 @@
117117 -#!/usr/bin/env perl
118118 +#!/usr/bin/perl
119119
120120 ################################################################
121121 # copyright (c) 2015 by William R. Pearson and The Rector &
122 --- fasta3.orig/scripts/ann_pfam_www.pl
123 +++ fasta3/scripts/ann_pfam_www.pl
122 --- a/scripts/ann_pfam_www.pl
123 +++ b/scripts/ann_pfam_www.pl
124124 @@ -1,4 +1,4 @@
125125 -#!/usr/bin/env perl
126126 +#!/usr/bin/perl
127127
128128 ################################################################
129129 # copyright (c) 2014, 2015 by William R. Pearson and The Rector &
130 --- fasta3.orig/scripts/ann_upfeats_pfam_www_e.pl
131 +++ fasta3/scripts/ann_upfeats_pfam_www_e.pl
130 --- a/scripts/ann_upfeats_pfam_www_e.pl
131 +++ b/scripts/ann_upfeats_pfam_www_e.pl
132132 @@ -1,4 +1,4 @@
133133 -#!/usr/bin/env perl
134134 +#!/usr/bin/perl
135135
136136 ################################################################
137137 # copyright (c) 2014 by William R. Pearson and The Rector &
138 --- fasta3.orig/scripts/annot_blast_btop2.pl
139 +++ fasta3/scripts/annot_blast_btop2.pl
138 --- a/scripts/annot_blast_btop2.pl
139 +++ b/scripts/annot_blast_btop2.pl
140140 @@ -1,4 +1,4 @@
141141 -#!/usr/bin/env perl
142142 +#!/usr/bin/perl
143143
144144 ################################################################
145145 # copyright (c) 2017,2018 by William R. Pearson and The Rector &
146 --- fasta3.orig/scripts/annot_blast_btop3.py
147 +++ fasta3/scripts/annot_blast_btop3.py
146 --- a/scripts/annot_blast_btop3.py
147 +++ b/scripts/annot_blast_btop3.py
148148 @@ -1,4 +1,4 @@
149149 -#!/usr/bin/env python3
150150 +#!/usr/bin/python3
151151
152152 ################################################################
153153 # copyright (c) 2017,2018 by William R. Pearson and The Rector &
154 --- fasta3.orig/scripts/annot_blast_btop4.py
155 +++ fasta3/scripts/annot_blast_btop4.py
154 --- a/scripts/annot_blast_btop4.py
155 +++ b/scripts/annot_blast_btop4.py
156156 @@ -1,4 +1,4 @@
157157 -#!/usr/bin/env python3
158158 +#!/usr/bin/python3
159159
160160 ################################################################
161161 # copyright (c) 2017,2018 by William R. Pearson and The Rector &
162 --- fasta3.orig/scripts/blastp_annot_cmd.sh
163 +++ fasta3/scripts/blastp_annot_cmd.sh
164 @@ -55,14 +55,14 @@
162 --- a/scripts/blastp_annot_cmd.sh
163 +++ b/scripts/blastp_annot_cmd.sh
164 @@ -82,19 +82,19 @@ $BLAST_PATH/blast_formatter -archive $bl
165
166 # annot_cmd="annot_blast_btop2.pl --query $QUERY --raw --have_qslen --dom_info --ann_script "$ANN_SCRIPT" --q_ann_script "$Q_ANN_SCRIPT" $blt_out > $blt_ann"
167 # echo "# $annot_cmd"
168 -annot_blast_btop2.pl --query $QUERY --raw --have_qslen --dom_info --ann_script "$ANN_SCRIPT" --q_ann_script "$Q_ANN_SCRIPT" $blt_out > $blt_ann
169 +/usr/share/fasta3/scripts/annot_blast_btop2.pl --query $QUERY --raw --have_qslen --dom_info --ann_script "$ANN_SCRIPT" --q_ann_script "$Q_ANN_SCRIPT" $blt_out > $blt_ann
170
171 if [[ $DO_HTML == 1 ]]; then
172 ## rename_exons.py --have_qslen --dom_info $blt_ann > $blr_out
173 $BLAST_PATH/blast_formatter -archive $bl_asn -outfmt 0 -html > $bl0_out
174 ## echo "# merge_blast_btab.pl --plot_url=plot_domain6t.cgi --have_qslen --dom_info --btab $blt_out $bl0_out"
175 - merge_blast_btab.pl --plot_url="plot_domain6t.cgi" --have_qslen --dom_info --btab $blt_ann $bl0_out
176 + /usr/share/fasta3/scripts/merge_blast_btab.pl --plot_url="plot_domain6t.cgi" --have_qslen --dom_info --btab $blt_ann $bl0_out
177
178 else
179 $BLAST_PATH/blast_formatter -archive $bl_asn -outfmt 0 > $bl0_out
180 merge_cmd="merge_blast_btab.pl --have_qslen --dom_info --btab $blt_ann $bl0_out"
181 # echo "# $merge_cmd"
182 - merge_blast_btab.pl --have_qslen --dom_info --btab $blt_ann $bl0_out
183 + /usr/share/fasta3/scripts/merge_blast_btab.pl --have_qslen --dom_info --btab $blt_ann $bl0_out
184 fi
185
186 # $BLAST_PATH/blast_formatter -archive $bl_asn -outfmt 2 > $blm_out
187 --- a/scripts/blastp_cmd.sh
188 +++ b/scripts/blastp_cmd.sh
189 @@ -22,7 +22,7 @@ blt_out="$OUTNAME.bl_tab"
165190 # echo "OUTFILE = ${OUTNAME}"
166191
167192 #export BLAST_PATH="/ebi/extserv/bin/ncbi-blast+/bin"
170195
171196 $BLAST_PATH/blastp -outfmt 11 $cmd > $bl_asn
172197 $BLAST_PATH/blast_formatter -archive $bl_asn -outfmt 0 -html > $bl0_out
173 $BLAST_PATH/blast_formatter -archive $bl_asn -outfmt '7 qseqid qlen sseqid slen pident length mismatch gapopen qstart qend sstart send evalue bitscore score btop' > $blt_out
174 -annot_blast_btop2.pl --query $QUERY --have_qslen --dom_info --ann_script "$ANN_SCRIPT" --q_ann_script "$Q_ANN_SCRIPT" $blt_out > $blt_ann
175 +/usr/share/fasta3/scripts/annot_blast_btop2.pl --query $QUERY --have_qslen --dom_info --ann_script "$ANN_SCRIPT" --q_ann_script "$Q_ANN_SCRIPT" $blt_out > $blt_ann
176
177 ## rename_exons.py --have_qslen --dom_info $blt_ann > $blr_out
178 -merge_blast_btab.pl --plot_url="plot_domain6t.cgi" --have_qslen --dom_info --btab $blr_out $bl0_out
179 +/usr/share/fasta3/scripts/merge_blast_btab.pl --plot_url="plot_domain6t.cgi" --have_qslen --dom_info --btab $blr_out $bl0_out
180
181 # $BLAST_PATH/blast_formatter -archive $bl_asn -outfmt 2 > $blm_out
182 --- fasta3.orig/scripts/blastp_cmd.sh
183 +++ fasta3/scripts/blastp_cmd.sh
184 @@ -22,7 +22,7 @@
185 # echo "OUTFILE = ${OUTNAME}"
186
187 #export BLAST_PATH="/ebi/extserv/bin/ncbi-blast+/bin"
188 -export BLAST_PATH="/seqprg/bin"
189 +export BLAST_PATH="/usr/bin"
190
191 $BLAST_PATH/blastp -outfmt 11 $cmd > $bl_asn
192 $BLAST_PATH/blast_formatter -archive $bl_asn -outfmt 0 -html > $bl0_out
193 --- fasta3.orig/scripts/exp_up_ensg.pl
194 +++ fasta3/scripts/exp_up_ensg.pl
198 --- a/scripts/exp_up_ensg.pl
199 +++ b/scripts/exp_up_ensg.pl
195200 @@ -1,4 +1,4 @@
196201 -#!/usr/bin/env perl
197202 +#!/usr/bin/perl
198203
199204 ################################################################
200205 # copyright (c) 2010, 2014 by William R. Pearson and The Rector &
201 --- fasta3.orig/scripts/expand_links.pl
202 +++ fasta3/scripts/expand_links.pl
206 --- a/scripts/expand_links.pl
207 +++ b/scripts/expand_links.pl
203208 @@ -1,4 +1,4 @@
204209 -#!/usr/bin/env perl
205210 +#!/usr/bin/perl
206211
207212 ################################################################
208213 # copyright (c) 2010, 2014 by William R. Pearson and The Rector &
209 --- fasta3.orig/scripts/expand_refseq_isoforms.pl
210 +++ fasta3/scripts/expand_refseq_isoforms.pl
214 --- a/scripts/expand_refseq_isoforms.pl
215 +++ b/scripts/expand_refseq_isoforms.pl
211216 @@ -1,4 +1,4 @@
212217 -#!/usr/bin/env perl
213218 +#!/usr/bin/perl
214219
215220 ################################################################
216221 # copyright (c) 2010, 2014 by William R. Pearson and The Rector &
217 --- fasta3.orig/scripts/expand_uniref50.pl
218 +++ fasta3/scripts/expand_uniref50.pl
222 --- a/scripts/expand_uniref50.pl
223 +++ b/scripts/expand_uniref50.pl
219224 @@ -1,4 +1,4 @@
220225 -#!/usr/bin/env perl
221226 +#!/usr/bin/perl
222227
223228 ################################################################
224229 # copyright (c) 2010, 2014 by William R. Pearson and The Rector &
225 --- fasta3.orig/scripts/expand_up_isoforms.pl
226 +++ fasta3/scripts/expand_up_isoforms.pl
230 --- a/scripts/expand_up_isoforms.pl
231 +++ b/scripts/expand_up_isoforms.pl
227232 @@ -1,4 +1,4 @@
228233 -#!/usr/bin/env perl
229234 +#!/usr/bin/perl
230235
231236 ################################################################
232237 # copyright (c) 2010, 2014 by William R. Pearson and The Rector &
233 --- fasta3.orig/scripts/fasta_annot_cmd.sh
234 +++ fasta3/scripts/fasta_annot_cmd.sh
235 @@ -54,7 +54,7 @@
238 --- a/scripts/fasta_annot_cmd.sh
239 +++ b/scripts/fasta_annot_cmd.sh
240 @@ -54,7 +54,7 @@ bla_out="${OUTNAME}_an.html"
236241 blt_out="$OUTNAME.fa_tab"
237242 blr_out="$OUTNAME.fa_tab_rn"
238243
241246 # BLAST_PATH="../bin"
242247
243248 cmd="$cmd -mF8CBL=$blt_out $QUERY $DATABASE"
244 @@ -73,7 +73,7 @@
249 @@ -73,7 +73,7 @@ cmd="$cmd -mF8CBL=$blt_out $QUERY $DATAB
245250 # run the program
246251 $BLAST_PATH/$SRCH_CMD $cmd > $bl0_out
247252
250255
251256 if [ ! -s $blr_out ]; then
252257 # echo "# " `ls -l $blt_out $blr_out`
253 @@ -81,4 +81,4 @@
258 @@ -81,4 +81,4 @@ if [ ! -s $blr_out ]; then
254259 # echo "# " `ls -l $blt_out $blr_out`
255260 fi
256261
257262 -$BLAST_PATH/merge_fasta_btab.pl --plot_url="plot_domain6t.cgi" --have_qslen --dom_info --btab $blr_out $bl0_out
258263 +/usr/share/fasta3/scripts/merge_fasta_btab.pl --plot_url="plot_domain6t.cgi" --have_qslen --dom_info --btab $blr_out $bl0_out
259 --- fasta3.orig/scripts/get_genome_seq.py
260 +++ fasta3/scripts/get_genome_seq.py
264 --- a/scripts/get_genome_seq.py
265 +++ b/scripts/get_genome_seq.py
261266 @@ -1,4 +1,4 @@
262267 -#!/usr/bin/env python3
263268 +#!/usr/bin/python3
264269
265270 ################
266271 ## get_hg38_bed.py parses an HG38 coordinate into a pseudo-bed entry,
267 --- fasta3.orig/scripts/get_protein.py
268 +++ fasta3/scripts/get_protein.py
272 --- a/scripts/get_protein.py
273 +++ b/scripts/get_protein.py
269274 @@ -1,4 +1,4 @@
270275 -#!/usr/bin/env python3
271276 +#!/usr/bin/python3
272277
273278 ## get_protein_www.py --
274279 ## get a protein sequence from the Uniprot or NCBI/Refseq web sites using the accession
275 --- fasta3.orig/scripts/get_protein_sql.py
276 +++ fasta3/scripts/get_protein_sql.py
280 --- a/scripts/get_protein_sql.py
281 +++ b/scripts/get_protein_sql.py
277282 @@ -1,4 +1,4 @@
278283 -#!/usr/bin/env python
279284 +#!/usr/bin/python3
280285
281286 ## get_protein_sql.py --
282287 ## get a protein sequence from a local Uniprot or NCBI/Refseq mySQL database using the accession
283 --- fasta3.orig/scripts/get_protein_sql_www.py
284 +++ fasta3/scripts/get_protein_sql_www.py
288 --- a/scripts/get_protein_sql_www.py
289 +++ b/scripts/get_protein_sql_www.py
285290 @@ -1,4 +1,4 @@
286291 -#!/usr/bin/env python3
287292 +#!/usr/bin/python3
288293
289294 ## get_protein.py --
290295 ## get a protein sequence from Uniprot or NCBI/Refseq using the accession
291 --- fasta3.orig/scripts/get_refseq.py
292 +++ fasta3/scripts/get_refseq.py
296 --- a/scripts/get_refseq.py
297 +++ b/scripts/get_refseq.py
293298 @@ -1,4 +1,4 @@
294299 -#!/usr/bin/env python3
295300 +#!/usr/bin/python3
296301
297302 import sys
298303 import re
299 --- fasta3.orig/scripts/get_uniprot.py
300 +++ fasta3/scripts/get_uniprot.py
304 --- a/scripts/get_uniprot.py
305 +++ b/scripts/get_uniprot.py
301306 @@ -1,4 +1,4 @@
302307 -#!/usr/bin/env python3
303308 +#!/usr/bin/python3
304309
305310 import sys
306311 import re
307 --- fasta3.orig/scripts/get_up_prot_iso_sql.py
308 +++ fasta3/scripts/get_up_prot_iso_sql.py
312 --- a/scripts/get_up_prot_iso_sql.py
313 +++ b/scripts/get_up_prot_iso_sql.py
309314 @@ -1,4 +1,4 @@
310315 -#!/usr/bin/env python3
311316 +#!/usr/bin/python3
312317
313318 import sys
314319 import re
315 --- fasta3.orig/scripts/lav2plt.pl
316 +++ fasta3/scripts/lav2plt.pl
320 --- a/scripts/lav2plt.pl
321 +++ b/scripts/lav2plt.pl
317322 @@ -1,4 +1,4 @@
318323 -#!/usr/bin/env perl
319324 +#!/usr/bin/perl
320325
321326 # lav2plt.pl - produce plotfrom lav output */
322327
323 --- fasta3.orig/scripts/lavplt_ps.pl
324 +++ fasta3/scripts/lavplt_ps.pl
328 --- a/scripts/lavplt_ps.pl
329 +++ b/scripts/lavplt_ps.pl
325330 @@ -1,4 +1,4 @@
326331 -#!/usr/bin/env perl
327332 +#!/usr/bin/perl
328333 #
329334 ################################################################
330335 # copyright (c) 2012, 2014 by William R. Pearson and The Rector &
331 --- fasta3.orig/scripts/lavplt_svg.pl
332 +++ fasta3/scripts/lavplt_svg.pl
336 --- a/scripts/lavplt_svg.pl
337 +++ b/scripts/lavplt_svg.pl
333338 @@ -1,4 +1,4 @@
334339 -#!/usr/bin/env perl
335340 +#!/usr/bin/perl
336341 #
337342 ################################################################
338343 # copyright (c) 2012, 2014 by William R. Pearson and The Rector &
339 --- fasta3.orig/scripts/links2sql.pl
340 +++ fasta3/scripts/links2sql.pl
344 --- a/scripts/links2sql.pl
345 +++ b/scripts/links2sql.pl
341346 @@ -1,4 +1,4 @@
342347 -#!/usr/bin/env perl
343348 +#!/usr/bin/perl
344349
345350 ################################################################
346351 # copyright (c) 2014 by William R. Pearson and The Rector &
347 --- fasta3.orig/scripts/m8_btop_msa.pl
348 +++ fasta3/scripts/m8_btop_msa.pl
349 @@ -1,4 +1,4 @@
350 -#!/usr/bin/env perl
351 +#!/usr/bin/perl
352
353 ################################################################
354 # copyright (c) 2014,2015 by William R. Pearson and The Rector &
355 --- fasta3.orig/scripts/m9B_btop_msa.pl
356 +++ fasta3/scripts/m9B_btop_msa.pl
357 @@ -1,4 +1,4 @@
358 -#!/usr/bin/env perl
359 +#!/usr/bin/perl
360
361 ################################################################
362 # copyright (c) 2014,2015 by William R. Pearson and The Rector &
363 --- fasta3.orig/scripts/map_exon_coords.py
364 +++ fasta3/scripts/map_exon_coords.py
352 --- a/scripts/m8_btop_msa.pl
353 +++ b/scripts/m8_btop_msa.pl
354 @@ -1,4 +1,4 @@
355 -#!/usr/bin/env perl
356 +#!/usr/bin/perl
357
358 ################################################################
359 # copyright (c) 2014,2015 by William R. Pearson and The Rector &
360 --- a/scripts/m9B_btop_msa.pl
361 +++ b/scripts/m9B_btop_msa.pl
362 @@ -1,4 +1,4 @@
363 -#!/usr/bin/env perl
364 +#!/usr/bin/perl
365
366 ################################################################
367 # copyright (c) 2014,2015 by William R. Pearson and The Rector &
368 --- a/scripts/map_exon_coords.py
369 +++ b/scripts/map_exon_coords.py
365370 @@ -1,4 +1,4 @@
366371 -#!/usr/bin/env python3
367372 +#!/usr/bin/python3
368373 #
369374 # given a -m8CB file with exon annotations for the query and subject,
370375 # provide a function that maps subject coordinates to query, or vice versa
371 --- fasta3.orig/scripts/merge_blast_btab.pl
372 +++ fasta3/scripts/merge_blast_btab.pl
376 --- a/scripts/merge_blast_btab.pl
377 +++ b/scripts/merge_blast_btab.pl
373378 @@ -1,4 +1,4 @@
374379 -#!/usr/bin/env perl
375380 +#!/usr/bin/perl
376381
377382 ################################################################
378383 # copyright (c) 2018 by William R. Pearson and The Rector &
379 --- fasta3.orig/scripts/merge_fasta_btab.pl
380 +++ fasta3/scripts/merge_fasta_btab.pl
384 --- a/scripts/merge_fasta_btab.pl
385 +++ b/scripts/merge_fasta_btab.pl
381386 @@ -1,4 +1,4 @@
382387 -#!/usr/bin/env perl
383388 +#!/usr/bin/perl
384389
385390 ################################################################
386391 # copyright (c) 2018 by William R. Pearson and The Rector &
387 --- fasta3.orig/scripts/relabel_domains.py
388 +++ fasta3/scripts/relabel_domains.py
389 @@ -1,4 +1,4 @@
390 -#!/usr/bin/env python3
391 +#!/usr/bin/python3
392
393 # Given a blast_tabular file with search results from one or more protein queries
394 #
395 --- fasta3.orig/scripts/rename_exons.py
396 +++ fasta3/scripts/rename_exons.py
392 --- a/scripts/relabel_domains.py
393 +++ b/scripts/relabel_domains.py
394 @@ -1,4 +1,4 @@
395 -#!/usr/bin/env python3
396 +#!/usr/bin/python3
397
398 # Given a blast_tabular file with search results from one or more
399 # protein queries, modify the domain color numbers (e.g. ~1, ~2) so
400 --- a/scripts/rename_exons.py
401 +++ b/scripts/rename_exons.py
397402 @@ -1,4 +1,4 @@
398403 -#!/usr/bin/env python3
399404 +#!/usr/bin/python3
400405 #
401406 # given a -m8CB file with exon annotations for the query and subject,
402407 # adjust the subject exon names to match the query exon names
403 --- fasta3.orig/scripts/summ_domain_ident.pl
404 +++ fasta3/scripts/summ_domain_ident.pl
408 --- a/scripts/summ_domain_ident.pl
409 +++ b/scripts/summ_domain_ident.pl
405410 @@ -1,4 +1,4 @@
406411 -#!/usr/bin/env perl
407412 +#!/usr/bin/perl
408413
409414 ################################################################
410415 # copyright (c) 2014 by William R. Pearson and The Rector &
411 --- fasta3.orig/scripts/test_py.sh
412 +++ fasta3/scripts/test_py.sh
416 --- a/scripts/test_py.sh
417 +++ b/scripts/test_py.sh
413418 @@ -5,57 +5,58 @@
414419 ## test python scripts
415420 ##
502507 +# echo '.bl_tab yes raw score'
503508 +# /usr/share/fasta3/scripts/annot_blast_btop4.py --raw_score --have_qslen --query /usr/share/doc/fasta3/examples/mgstm1.aa --q_ann_file gstm1_mouse.annot --ann_script ann_pfam_sql.pl mgstm1_v_a1zb72.bl_tab
504509
505 --- fasta3.orig/scripts/test_ann_scripts.sh
506 +++ fasta3/scripts/test_ann_scripts.sh
510 --- a/scripts/test_ann_scripts.sh
511 +++ b/scripts/test_ann_scripts.sh
507512 @@ -9,22 +9,22 @@
508513 # SP:GSTM1_HUMAN -- ebi searches without accession
509514 ##
538543 + done < ${ex_file}
539544 + echo '***DONE***' "$script" "$(date)"
540545 +done < ${script_file}
541 --- fasta3.orig/scripts/ann_script_list
542 +++ fasta3/scripts/ann_script_list
546 --- a/scripts/ann_script_list
547 +++ b/scripts/ann_script_list
543548 @@ -1,9 +1,7 @@
544549 -ann_exons_up_sql.pl
545550 -ann_exons_up_www.pl
557562 +/usr/share/fasta3/scripts/ann_feats_up_www2.pl
558563 +/usr/share/fasta3/scripts/ann_ipr_www.pl
559564 +/usr/share/fasta3/scripts/ann_upfeats_pfam_www_e.pl
560 --- fasta3.orig/psisearch2/clustal2fasta.pl
561 +++ fasta3/psisearch2/clustal2fasta.pl
562 @@ -1,4 +1,4 @@
563 -#!/usr/bin/env perl
564 +#!/usr/bin/perl
565
566 ################################################################
567 # copyright (c) 2014,2015 by William R. Pearson and The Rector &
568 --- fasta3.orig/psisearch2/clustal2fasta.py
569 +++ fasta3/psisearch2/clustal2fasta.py
565 --- a/psisearch2/clustal2fasta.pl
566 +++ b/psisearch2/clustal2fasta.pl
567 @@ -1,4 +1,4 @@
568 -#!/usr/bin/env perl
569 +#!/usr/bin/perl
570
571 ################################################################
572 # copyright (c) 2014,2015 by William R. Pearson and The Rector &
573 --- a/psisearch2/clustal2fasta.py
574 +++ b/psisearch2/clustal2fasta.py
570575 @@ -1,4 +1,4 @@
571576 -#!/usr/bin/env python
572577 +#!/usr/bin/python3
573578
574579 ################################################################
575580 # copyright (c) 2014,2015 by William R. Pearson and The Rector &
576 --- fasta3.orig/psisearch2/m89_btop_msa2.pl
577 +++ fasta3/psisearch2/m89_btop_msa2.pl
578 @@ -1,4 +1,4 @@
579 -#!/usr/bin/env perl
580 +#!/usr/bin/perl
581
582 ################################################################
583 # copyright (c) 2014,2015 by William R. Pearson and The Rector &
584 --- fasta3.orig/psisearch2/psisearch2_msa.pl
585 +++ fasta3/psisearch2/psisearch2_msa.pl
586 @@ -1,4 +1,4 @@
587 -#!/usr/bin/env perl
588 +#!/usr/bin/perl
589
590 ################################################################
591 # copyright (c) 2016 by William R. Pearson and The Rector &
592 @@ -48,7 +48,7 @@
581 --- a/psisearch2/m89_btop_msa2.pl
582 +++ b/psisearch2/m89_btop_msa2.pl
583 @@ -1,4 +1,4 @@
584 -#!/usr/bin/env perl
585 +#!/usr/bin/perl
586
587 ################################################################
588 # copyright (c) 2014,2015 by William R. Pearson and The Rector &
589 --- a/psisearch2/psisearch2_msa.pl
590 +++ b/psisearch2/psisearch2_msa.pl
591 @@ -1,4 +1,4 @@
592 -#!/usr/bin/env perl
593 +#!/usr/bin/perl
594
595 ################################################################
596 # copyright (c) 2016,2020 by William R. Pearson and The Rector &
597 @@ -54,7 +54,7 @@ use vars qw( $prev_m89res $m_format $pre
593598 # (3) NCBI blast+ programs: psiblast/makeblastdb
594599 # (4) NCBI datatool (required only for ssearch36 PSSMs)
595600
596601 -my $pgm_bin = "/seqprg/bin";
597602 +my $pgm_bin = "/usr/bin";
603
598604 my $pgm_data = "/seqprg/data";
599605 my $ssearch_bin = "$pgm_bin/ssearch36";
600 my $psiblast_bin = "$pgm_bin/psiblast";
601 --- fasta3.orig/psisearch2/psisearch2_msa.py
602 +++ fasta3/psisearch2/psisearch2_msa.py
606 --- a/psisearch2/psisearch2_msa.py
607 +++ b/psisearch2/psisearch2_msa.py
603608 @@ -1,4 +1,4 @@
604609 -#!/usr/bin/env python
605610 +#!/usr/bin/python3
606611
607612 ################################################################
608613 # copyright (c) 2016 by William R. Pearson and The Rector &
609 @@ -45,7 +45,7 @@
614 @@ -45,7 +45,7 @@ import re
610615 # (3) NCBI blast+ programs: psiblast/makeblastdb
611616 # (4) NCBI datatool (required only for ssearch36 PSSMs)
612617
615620 pgm_data = "/seqprg/data"
616621 ssearch_bin = pgm_bin+"/ssearch36"
617622 psiblast_bin = pgm_bin+"/psiblast"
618 @@ -54,9 +54,9 @@
623 @@ -54,9 +54,9 @@ datatool_bin = "%s/datatool -m %s/NCBI_a
619624 align2msa_lib = "m89_btop_msa2.pl"
620625 clustal2fasta = "clustal2fasta.py"
621626
628633
629634 num_iter = 5
630635 srch_pgm = 'ssearch'
631 --- fasta3.orig/psisearch2/psisearch2_msa_iter.sh
632 +++ fasta3/psisearch2/psisearch2_msa_iter.sh
636 --- a/psisearch2/psisearch2_msa_iter.sh
637 +++ b/psisearch2/psisearch2_msa_iter.sh
633638 @@ -7,8 +7,8 @@
634639 #
635640
641646 FA_DB=/slib2/fa_dbs/qfo78.lseg
642647 BL_DB=/slib2/bl_dbs/qfo78
643648 DB=$FA_DB
644 --- fasta3.orig/psisearch2/psisearch2_msa_iter_bl.sh
645 +++ fasta3/psisearch2/psisearch2_msa_iter_bl.sh
649 --- a/psisearch2/psisearch2_msa_iter_bl.sh
650 +++ b/psisearch2/psisearch2_msa_iter_bl.sh
646651 @@ -6,7 +6,7 @@
647652 # psisearch2_msa.pl --pgm psiblast --query query.aa --num_iter 5 --db /slib2/bl_dbs/qfo78
648653 #
00 Author: Michael R. Crusoe <michael.crusoe@gmail.com>
11 Description: disable tests that require external databases
2 --- fasta3.orig/test/test.sh
3 +++ fasta3/test/test.sh
4 @@ -7,71 +7,71 @@
2 --- a/test/test.sh
3 +++ b/test/test.sh
4 @@ -7,71 +7,13 @@ if [ ! -d results ]; then
55 mkdir results
66 fi
77
8 -export FA_DB=/slib2/fa_dbs/qfo20.lseg
8 -export FA_DB=$SLIB2/fa_dbs/qfo20.lseg
99 -
1010 -echo "starting fasta36 - protein" `date`
1111 -../bin/fasta36 -q -m 6 -Z 100000 ../seq/mgstm1.aa:1-100 $FA_DB > results/test_m1.ok2.html
3232 - ../bin/ssearch36s -q -M 200-300 -z 2 -Z 100000 -s P250 ../seq/mgstm1.aa $FA_DB > results/test_m1.sss_p25
3333 - echo "done"
3434 -fi
35 +# export FA_DB=/slib2/fa_dbs/qfo20.lseg
36 +#
37 +# echo "starting fasta36 - protein" `date`
38 +# ../bin/fasta36 -q -m 6 -Z 100000 ../seq/mgstm1.aa:1-100 $FA_DB > results/test_m1.ok2.html
39 +# ../bin/fasta36 -S -q -z 11 -O results/test_m1.ok2_p25 -s P250 ../seq/mgstm1.aa:100-218 $FA_DB
40 +# echo "done"
41 +# echo "starting fastxy36" `date`
42 +# ../bin/fastx36 -m 9c -S -q ../seq/mgtt2_x.seq $FA_DB 1 > results/test_t2.xk1
43 +# ../bin/fasty36 -S -q ../seq/mgtt2_x.seq $FA_DB > results/test_t2.yk2
44 +# ../bin/fastx36 -m 9c -S -q -z 2 ../seq/mgstm1.esq $FA_DB > results/test_m1.xk2z2
45 +# ../bin/fasty36 -S -q -z 2 ../seq/mgstm1.esq $FA_DB > results/test_m1.yk2z2
46 +# echo "done"
47 +# echo "starting fastxy36 rev" `date`
48 +# ../bin/fastx36 -m 9c -q -m 5 ../seq/mgstm1.rev $FA_DB > results/test_m1.xk2r
49 +# ../bin/fasty36 -q -m 5 -M 200-300 -z 2 ../seq/mgstm1.rev $FA_DB > results/test_m1.yk2rz2
50 +# ../bin/fasty36 -q -m 5 -z 11 ../seq/mgstm1.rev $FA_DB > results/test_m1.yk2rz11
51 +# echo "done"
52 +# echo "starting ssearch36" `date`
53 +# ../bin/ssearch36 -m 9c -S -z 3 -q ../seq/mgstm1.aa $FA_DB > results/test_m1.ssz3
54 +# ../bin/ssearch36 -q -M 200-300 -z 2 -Z 100000 -s P250 ../seq/mgstm1.aa $FA_DB > results/test_m1.ss_p25
55 +# echo "done"
56 +# if [ -e ../bin/ssearch36s ]; then
57 +# echo "starting ssearch36s" `date`
58 +# ../bin/ssearch36s -m 9c -S -z 3 -q ../seq/mgstm1.aa $FA_DB > results/test_m1.sssz3
59 +# ../bin/ssearch36s -q -M 200-300 -z 2 -Z 100000 -s P250 ../seq/mgstm1.aa $FA_DB > results/test_m1.sss_p25
60 +# echo "done"
61 +# fi
6235 echo "starting prss36(ssearch/fastx)" `date`
6336 ../bin/ssearch36 -q -k 1000 -a ../seq/mgstm1.aa ../seq/xurt8c.aa > results/test_m1.rss
6437 ../bin/fastx36 -q -k 1000 ../seq/mgstm1.esq ../seq/xurt8c.aa > results/test_m1.rfx
7346 -../bin/fasta36 -S -q ../seq/mgstm1.nt %RMB 4 > results/test_m1.ok4
7447 -../bin/fasta36 -S -q ../seq/mgstm1.rev %RMB 4 > results/test_m1.ok4r
7548 -echo "done"
76 +# echo "starting ggsearch36/glsearch36" `date`
77 +# ../bin/ggsearch36 -q -m 9i -w 80 ../seq/hahu.aa $FA_DB > results/test_h1.gg
78 +# ../bin/glsearch36 -q -m 9i -w 80 ../seq/hahu.aa $FA_DB > results/test_h1.gl
79 +# ../bin/ggsearch36 -q ../seq/gtt1_drome.aa $FA_DB > results/test_t1.gg
80 +# ../bin/glsearch36 -q ../seq/gtt1_drome.aa $FA_DB > results/test_t1.gl
81 +# echo "done"
82 +# echo "starting fasta36 - DNA" `date`
83 +# ../bin/fasta36 -S -q ../seq/mgstm1.nt %RMB 4 > results/test_m1.ok4
84 +# ../bin/fasta36 -S -q ../seq/mgstm1.rev %RMB 4 > results/test_m1.ok4r
85 +# echo "done"
8649 #echo "starting tfasta36" `date`
8750 #tfasta36 -q ../seq/mgstm1.aa %RMB > results/test_m1.tk2
8851 #echo "done"
10770 -echo "done"
10871 -echo "starting tfasts36" `date`
10972 -../bin/tfasts36 -q ../seq/n0.aa %r > results/test_m1.ts_r
110 +# echo "starting tfastxy36" `date`
111 +# ../bin/tfastx36 -m 9c -q -i -3 -m 6 ../seq/mgstm1.aa %p > results/test_m1.tx2.html
112 +# ../bin/tfasty36 -q -i -3 -N 5000 ../seq/mgstm1.aa %p > results/test_m1.ty2
113 +# echo "done"
114 +# echo "starting fastf36" `date`
115 +# ../bin/fastf36 -q ../seq/m1r.aa $FA_DB > results/test_mf.ff
116 +# ../bin/fastf36 -q ../seq/m1r.aa $FA_DB > results/test_mf.ff_s
117 +# echo "done"
118 +# echo "starting tfastf36" `date`
119 +# ../bin/tfastf36 -q ../seq/m1r.aa %r > results/test_mf.tfr
120 +# echo "done"
121 +# echo "starting fasts36" `date`
122 +# ../bin/fasts36 -q -V '*?@' ../seq/ngts.aa $FA_DB > results/test_m1.fs1
123 +# ../bin/fasts36 -q ../seq/ngt.aa $FA_DB > results/test_m1.fs
124 +# ../bin/fasts36 -q -n ../seq/mgstm1.nts m > results/test_m1.nfs
125 +# echo "starting fastm36" `date`
126 +# ../bin/fastm36 -q ../seq/ngts.aa $FA_DB > results/test_m1.fm
127 +# ../bin/fastm36 -q -n ../seq/mgstm1.nts m > results/test_m1.nfm
128 +# echo "done"
129 +# echo "starting tfasts36" `date`
130 +# ../bin/tfasts36 -q ../seq/n0.aa %r > results/test_m1.ts_r
13173 echo "starting lalign36" `date`
13274 ../bin/lalign36 -k 1000 -q ../seq/mchu.aa ../seq/mchu.aa > results/test_mc.lal
13375 ../bin/lalign36 -z 3 -q ../seq/mchu.aa ../seq/mchu.aa > results/test_mc.lal_z3
134 --- fasta3.orig/test/test2G.sh
135 +++ fasta3/test/test2G.sh
136 @@ -6,69 +6,69 @@
76 --- a/test/test2G.sh
77 +++ b/test/test2G.sh
78 @@ -6,69 +6,69 @@ echo ""
13779 if [ ! -d results ]; then
13880 mkdir results
13981 fi
00 Makefile.patch
1 simde
21 local_tests
32 adjust-scripts
+0
-46
debian/patches/simde less more
0 Author: Michael R. Crusoe <michael.crusoe@gmail.com>
1 Description: Fix compiling on non x86 with SIMD Everywhere
2 Forwarded: https://github.com/wrpearson/fasta36/pull/25
3
4 diff --git a/src/global_sse2.c b/src/global_sse2.c
5 index a5b2a3f..584bd67 100644
6 --- a/src/global_sse2.c
7 +++ b/src/global_sse2.c
8 @@ -19,7 +19,8 @@
9 #ifdef __SUNPRO_C
10 #include <sunmedia_intrin.h>
11 #else
12 -#include <emmintrin.h>
13 +#define SIMDE_ENABLE_NATIVE_ALIASES
14 +#include "simde/x86/sse2.h"
15 #endif
16
17 #ifdef SW_SSE2
18 diff --git a/src/glocal_sse2.c b/src/glocal_sse2.c
19 index d2e8348..123d270 100644
20 --- a/src/glocal_sse2.c
21 +++ b/src/glocal_sse2.c
22 @@ -19,7 +19,8 @@
23 #ifdef __SUNPRO_C
24 #include <sunmedia_intrin.h>
25 #else
26 -#include <emmintrin.h>
27 +#define SIMDE_ENABLE_NATIVE_ALIASES
28 +#include "simde/x86/sse2.h"
29 #endif
30
31 #ifdef SW_SSE2
32 diff --git a/src/smith_waterman_sse2.c b/src/smith_waterman_sse2.c
33 index d37f223..c638027 100644
34 --- a/src/smith_waterman_sse2.c
35 +++ b/src/smith_waterman_sse2.c
36 @@ -20,7 +20,8 @@
37 #ifdef __SUNPRO_C
38 #include <sunmedia_intrin.h>
39 #else
40 -#include <emmintrin.h>
41 +#define SIMDE_ENABLE_NATIVE_ALIASES
42 +#include "simde/x86/sse2.h"
43 #endif
44
45 #ifdef SW_SSE2