Skip to content

Commit 2b1a58a

Browse files
committed
v4.0.5 update
Fix GO download
1 parent 4fea315 commit 2b1a58a

11 files changed

Lines changed: 61 additions & 28 deletions

File tree

docs/Docs.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
<table style="width: 100%; padding: 0; border-spacing:0; border-collapse:collapse;">
4242
<tr>
4343
<td style="background-color: #666666; padding-bottom:4px;">
44+
<a href="https://csoderlund.github.io" class="white">AGCoL</a> <mark class="white">|</mark>
4445
<a href="https://csoderlund.github.io/TCW" class="white">TCW Home</a> <mark class="white">|</mark>
4546
<a href="https://github.com/csoderlund/TCW/releases" class="white">Download</a> <mark class="white">|</mark>
4647
<a href="./Docs.html" class="current">Docs</a> <mark class="white">|</mark>

docs/Install.html

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
<table style="width: 100%; padding: 0; border-spacing:0; border-collapse:collapse;">
4545
<tr>
4646
<td style="background-color: #666666; padding-bottom:4px;">
47+
<a href="https://csoderlund.github.io" class="white">AGCoL</a> <mark class="white">|</mark>
4748
<a href="https://csoderlund.github.io/TCW" class="white">TCW Home</a> <mark class="white">|</mark>
4849
<a href="https://github.com/csoderlund/TCW/releases" class="white">Download</a> <mark class="white">|</mark>
4950
<a href="./Docs.html" class="white">Docs</a> <mark class="white">|</mark>
@@ -97,7 +98,8 @@ <h2>Software Requirements</h2>
9798
</table>
9899

99100
<a id="test"></a>
100-
<p>&nbsp;<p><u>TCW v4.0.5 (July 2025)</u>: Test <i>all</i> TCW programs using the demo files, plus downloaded a UniProt database and GO
101+
102+
<p><u>TCW v4.0.5 (July 2025)</u>: All TCW programs were tested using the demo files, plus downloaded a UniProt database and GO
101103
with <ttp>runAS</ttp> and verified it worked. <ttp>RunDE</ttp> was tested with <ttp>edgeR</ttp> and <ttp>goSeq</ttp>.
102104

103105
<table class="ty" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size:9pt">
@@ -114,13 +116,19 @@ <h2>Software Requirements</h2>
114116
<tr><td>&nbsp;&nbsp;3. <a href="http://linode.com" class="ext" target="_blank"><ttl>Linode</ttl><sup>2</sup></a> (Ubuntu 22.04.2 LTS)
115117
<td>MySQL 8.0.33<td>17<td>Nanode<td>&nbsp;&nbsp;1Gb<td>2023
116118
</table>
117-
<sup>1</sup><small>MacOS M4: Cap3, OrthoMCL and Muscle are not supplied for this machine.
118-
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
119-
The user can supply cap3 in the <tt>Ext/macM4/CAP3</tt> directory if they want assembly to work.</small>
120-
<br><sup>2</sup><small>Linux/Linode: <tt>rJava</tt> did not install successfully,
121-
so the <ttp>runDE</ttp> could not be tested.</small>
119+
<p><sup>1</sup>MacOS M4: Cap3, OrthoMCL and Muscle are not supplied for this machine.
120+
<ul><li>
121+
<ttp>runSingleTCW</ttp>: The user can supply cap3 in the <tt>Ext/macM4/CAP3</tt> directory if they want assembly to work.
122+
<li>
123+
<ttp>runMultiTCW</ttp>: Muscle is not necessary since MAFFTA can be used for the MSA.
124+
<li>
125+
The user can download and run OrthoMCL and input the results to <ttp>runMultiTCW</ttp>, though
126+
TCW provides other clustering methods.
127+
</ul>
128+
<sup>2</sup>Linux/Linode: <tt>rJava</tt> was installed on Feb2026 and <ttp>runDE</ttp> tested.
129+
<br><ttp>runAS</ttp> has not been tested on Linode, but was used extensively on the Linux listed below.
122130

123-
<p><u>TCW v4.0.4 (July 2022)</u>: Used to create multiple large TCW comparative projects with expression levels.
131+
<p><u>TCW v4.0.4 (July 2022)</u>: The following was used to create multiple large TCW comparative projects with expression levels.
124132
<table class="ty" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size:9pt">
125133
<tr><td><b>Machine</b><td><b>MySQL</b><td><b>Java</b><td><b>Core (CPU)</b><td><b>Memory</b><td><b>Purchased</b>
126134
<tr><td>Linux x86.64 (Centos 7)
@@ -130,7 +138,12 @@ <h2>Software Requirements</h2>
130138
<td>128Gb
131139
<td style="text-align: center">2011
132140
</table>
133-
<br>See <a href="Summary.html#time" class="ext" target="_blank">Summary</a> for timings.
141+
142+
<p><u>TCW v4.0.5 (Feb 2026)</u>: All programs and UniProt/GO downloads were tested again with versions
143+
of Java, MySQL and R less than a year old.
144+
145+
<p>See <a href="Summary.html#time" class="ext" target="_blank">Summary</a> for timings.
146+
134147

135148
<a id="install"></a>
136149
<table style="width: 100%"><tr><td style="text-align: left">

docs/Mac-OSX.html

Lines changed: 22 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
a.ext {font-weight: bold;}
99
mark.white {font-family:verdana; font-size:12px; color:white;background:none;}
1010
ttp {font-family: Arial, monospace; font-size: 14px; font-weight: 600; color: #556B2F; }
11+
ttl {font-family: 'Lucida Console', monospace; font-size: 14px; font-weight: 600; color: DarkSlateGrey;}
1112
tt {font-size:13px}
1213
pre {font-size:13px}
1314
body {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 14px; }
@@ -160,17 +161,24 @@ <h4>
160161
<h3>
161162
Running /Ext/mac external programs
162163
</h3>
163-
<font color=red>Since the release of MacOS 10.15, it is difficult to run programs downloaded from the web unless its been
164-
authenticated by Apple.</font> Running external programs from TCW,
165-
you will either get popup that states "xxx cannot be opened because developer cannot be verified", or
166-
the program will just fail. Do the following:
164+
<font color=green>Since the release of MacOS 10.15, it is impossible to run programs downloaded
165+
from the web unless they have been authenticated.</font> Using MacOS Sequoia 15.7.3, I authenticated <tt>diamond</tt> as follows:
167166
<ol>
168-
<li>Using the Finder, select the program and Open With "Terminal" or "iTerm".
169-
<li>You will get a pop-up, select "Open".
170-
<li>After that, you will be able to run it via TCW.
167+
<li>Bring up the <ttl>System Setting</ttl>, select <ttl>Privacy&amp;Security</ttl>.
168+
<li>Run TCW <ttl>Annotate</ttl>. It will popup a window with '<tt>diamond Not Open</tt>'; select <b>Done</b>.
169+
<li>On the <ttl>Privacy</ttl> window,
170+
it will now show '<tt>diamond was blocked to protect your Mac.</tt>';
171+
select <b>Allow Anyway</b>.
172+
<li>Run TCW <ttl>Annotate</ttl>. It will popup '<tt>Open diamond?</tt>'; select <b>Open Anyway</b>.
173+
<li>It will then popup
174+
a window asking for your password. Finally, <tt>diamond</tt> will run.
171175
</ol>
172-
I did not have to do this for <ttp>Blast</ttp>, but I did need to do it for the other <ttx>/Ext/mac</ttx> programs.
173-
All were straight-forward except for <ttp>mafft</ttp>; I had to authenticate all the following in the <ttx>mafftdir</ttx>
176+
<a href="./img/macOS.png">
177+
<img src="./img/macOS.png" alt="MacOS" title="macOS authenticate" style="width: 700px; border:1px solid black"></a>
178+
<p>I had to do the same for <tt>makeblastdb</tt>, <tt>blast</tt> and <tt>tblastx</tt> for the <ttp>runSingleTCW</ttp> pair alignment.
179+
It was easiest to just keep running Annotate until they were all authenticated.
180+
<p>
181+
For <ttp>runMultiTCW</ttp> MSA computations, I had to authenticate all the following in the <ttx>mafftdir</ttx>
174182
directory:
175183
<pre>
176184
bin/
@@ -184,12 +192,11 @@ <h3>
184192
dvtditr
185193
f2cl
186194
</pre>
187-
Supposedly, there is a way to allow any downloaded program to execute by using:
188-
<pre>
189-
sudo spctl --master-disable
190-
</pre>
191-
Then in Preferences, Security&amp;Privacy, General, select 'anywhere'. I did not try this.
192-
195+
I could move the <tt>/Ext</tt> directory around and it would stay authenticated. But when I downloaded a
196+
new TCW_4.tar.gz, I would have to re-authenticate it. Therefore, if you download an updated TCW, use your
197+
previous authenticated <tt>/Ext</tt> directory.
198+
<p>
199+
There may be an easier way to do this, but this works.
193200
<!---- END BODY -->
194201
<p><a href="#top">Go to top</a>
195202
</td></tr>

docs/Release.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
<table style="width: 100%; padding: 0; border-spacing:0; border-collapse:collapse;">
4444
<tr>
4545
<td style="background-color: #666666; padding-bottom:4px;">
46+
<a href="https://csoderlund.github.io" class="white">AGCoL</a> <mark class="white">|</mark>
4647
<a href="https://csoderlund.github.io/TCW" class="white">TCW Home</a> <mark class="white">|</mark>
4748
<a href="https://github.com/csoderlund/TCW/releases" class="white">Download</a> <mark class="white">|</mark>
4849
<a href="./Docs.html" class="white">Docs</a> <mark class="white">|</mark>
@@ -59,7 +60,12 @@
5960
You must have Java v17.0.11 or later, starting with TCW v4.0.5.
6061

6162
<a id=v405></a>
62-
<h4>v4.0.5 27-July-2025</h4>
63+
<h4>v4.0.5 1-March-2025</h4>
64+
1-March-2026 release:
65+
<ul>
66+
<li>The GO database no longer would download. This was fixed by adding the <tt>-L</tt> argument to <tt>curl</tt>.
67+
</ul>
68+
6369
27-July-2025 release:
6470
<ul>
6571
<li>Building some of the GO tables on MariaDB was very slow; this has been fixed.

docs/Summary.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
<table style="width: 100%; padding: 0; border-spacing:0; border-collapse:collapse;">
4646
<tr>
4747
<td style="background-color: #666666; padding-bottom:4px;">
48+
<a href="https://csoderlund.github.io" class="white">AGCoL</a> <mark class="white">|</mark>
4849
<a href="https://csoderlund.github.io/TCW" class="white">TCW Home</a> <mark class="white">|</mark>
4950
<a href="https://github.com/csoderlund/TCW/releases" class="white">Download</a> <mark class="white">|</mark>
5051
<a href="./Docs.html" class="white">Docs</a> <mark class="white">|</mark>

docs/img/macOS.png

185 KB
Loading

docs/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
TCW uses Java, mySQL, optionally R, and various <a href="./External.html">External</a> packages.
6161
It has been tested on Linux and Mac.
6262
<ul>
63-
<li>Last release: TCW v4.0.5 (27-July-25). See <a href="./Release.html">Release Notes</a>.
63+
<li>Last release: TCW v4.0.5 (1-March-26). See <a href="./Release.html">Release Notes</a>.
6464
Published in <a href="https://doi.org/10.1101/733311" class="ext" target="_blank">BioRxiv</a> (02-May-2022).
6565

6666

@@ -215,7 +215,7 @@
215215
</table>
216216

217217
<b>Funding</b>
218-
<p>All upgrades starting with TCW v1.3 have been developed by CAS without funding.
218+
<p>All upgrades starting with TCW v1.3 (Sept 2014) have been developed by Cari Soderlund without funding.
219219
<p>This project was funded in part by National Science Foundation grant <a href="http://www.nsf.gov/awardsearch/showAward.do?AwardNumber=1044821" class="ext" target="_blank">IOS-1044821</a>.
220220

221221
<p><font face="Verdana, Arial, Helvetica, sans-serif" size="2">NSF Disclaimer:

docs/tour/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
<table style="width: 100%; padding: 0; border-spacing:0; border-collapse:collapse;">
5151
<tr>
5252
<td style="background-color: #666666; padding-bottom:4px;">
53+
<a href="https://csoderlund.github.io" class="white">AGCoL</a> <mark class="white">|</mark>
5354
<a href="https://csoderlund.github.io/TCW" class="white">TCW Home</a> <mark class="white">|</mark>
5455
<a href="https://github.com/csoderlund/TCW/releases" class="white">Download</a> <mark class="white">|</mark>
5556
<a href="../Docs.html" class="white">Docs</a> <mark class="white">|</mark>

java/src/sng/runAS/ASMain.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public static boolean ioURL(String url, String inFile, String outPath) {
7575
}
7676

7777
// download
78-
String cmd = "curl " + url + inFile + " -o " + outPath;
78+
String cmd = "curl -L " + url + inFile + " -o " + outPath; // CAS405c follow redirects
7979
System.err.println(cmd);
8080
exitVal = rcd.run(cmd, null); // current directory, print stderr
8181

java/src/sng/runAS/DoOBO.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,10 @@ private boolean loadGOdbFromOBO() {
298298
/** Header lines **/
299299
// format-version: 1.2
300300
line = inFH.readLine();
301+
if (line==null) {
302+
Out.PrtErr("OBO file is empty. " + goDir+"/"+goFile); // CAS405c
303+
return false;
304+
}
301305
String [] tok = line.split(":");
302306
if (tok.length!=2 || !tok[0].contains("format-version")) {
303307
Out.PrtErr("Incorrect OBO file: " + line);

0 commit comments

Comments
 (0)