Closed wookietreiber closed 9 years ago
Given the line number and C source file name, I took a look at it. The function where the internal error gets raised is:
int gfDefaultRepMatch(int tileSize, int stepSize, boolean protTiles);
Where mainly the tileSize
argument is checked. Don't know if that helps.
Given your blat command line (from the output above), the source code and this thread it appears to be clear that your -tileSize=18
command line argument to blat exceeds the allowed value.
As I searched for -tileSize=18 in the source code I found out that you have hard-coded this value. This renders transabyss 1.5.2 completely incompatible with blat 35, which is the most recent blat release.
From the blat command line help it says:
-tileSize=N sets the size of match that triggers an alignment.
Usually between 8 and 12
Default is 11 for DNA and 5 for protein.
Since we are working with DNA (-t=dna -q=dna
), is the default tile size of 11 for DNA sensible to you?
I guess, the options are:
Pick another hard-coded value (instead of 18) that is within the bounds of the most recent blat, or, to allow compatibility to older blat releases, make the hard-coded value dependent on the blat version (contained by the first output line when you just type blat
at the command line prompt), e.g.:
$ blat | head -1
blat - Standalone BLAT v. 35 fast sequence search command line tool
-tileSize=18
.By the way, just by removing the -tileSize=18
option the sample runs fine without complaints.
Thanks for reporting this!!
The -tileSize
option was used mainly for speeding up the blat alignment
process, but I agree with you about not hardcoding it.
On Fri, Jan 30, 2015 at 12:29 AM, Christian Krause <notifications@github.com
wrote:
By the way, just by removing the -tileSize=18 option the sample runs fine without complaints.
— Reply to this email directly or view it on GitHub https://github.com/bcgsc/transabyss/issues/3#issuecomment-72169039.
Fixed with ae83072.
I just installed and tried to run the sample assembly, however, blat 35 fails with an internal error: