translateTransExonFragmentStruct to char *

by Brian | 23rd June 2009

converting translateTransExonFragmentStruct to return a char array UPDATE: done. Read More

Note

by Brian | 22nd June 2009

should translateNucleotideSequence return a const array of chars rather than a mutable array? UPDATE: No, as some processing of the sequence may be necessary this wouldn’t work. Read More

Fuzzy String Matching

by Brian | 22nd June 2009

Fuzzy String Matching May considering using these two often used in Bioinformatics: Needleman-Wunsch algorithm Smith-Waterman algorithm A Java applet demonstrating these algorithms: here Okay, maybe the Levenshtein distance is all we need. Read More

for future: matchTagsFiltered

by Brian | 19th June 2009

matchTagsFiltered is where the unnecessary charToIntRepresentation is used. Though charToIntRepresentation may not be entirely unnecessary as tags are as an NSArray, which still need to be converted…. Need to look at this later. Too distracted by converting NSStrings to chars… Read More

Continuing with refactoring

by Brian | 19th June 2009

Converting the acid sequence from NSString to a char array is going to take a few days…. I have everything crossable crossed that once the refactoring has taken place and proper compilation happens that there aren’t any logic bugs and that the returned results match previously verified results. Read More

refactoring so translateNucleotideSequence returns a char array

by Brian | 18th June 2009

This is like tapping one domino which then falls and topples an ever widening fan of other dominoes. Each method I change contains other methods which also need to be changed. I’m concerned about the use of the toupper method regarding our acid sequence. It seems like if we are careful we could avoid it [...] Read More

Note to self – convert Strings should be char arrays

by Brian | 17th June 2009

Strings are essentially arrays of UTF characters which take up 4 bytes. As we are comparing proteome data, we don’t need that size of a data container to represent the amino acids. If rather than Srings we used arrays of characters (one byte each) then comparisons and assignment operators could be sped up as much [...] Read More

Objective-C primitive sizes

by Brian | 16th June 2009

using: // calculate the sizes of C-Primitives int i = 1; NSLog(@”Primitive sizes:”); NSLog(@”%d The size of a char is: %d.”, i++, sizeof(char)); NSLog(@”%d The size of short is: %d.”, i++, sizeof(short)); NSLog(@”%d The size of int is: %d.”, i++, sizeof(int)); NSLog(@”%d The size of long is: %d.”, i++, sizeof(long)); NSLog(@”%d The size of long [...] Read More

Tuesday from home

by Brian | 16th June 2009

Working from home (waiting for plumber). Had to quickly drop by lab to pick up source files and parameters list. Future Idea: need to make “getting started with GFS” intro guide. Success! Found that if we create a temp variable to store acidArrayAsInts[i] for comparisons then we save 2% to 3% of time on findLongestCommonSubstring Read More

Going through GFS

by Brian | 15th June 2009

The past couple of weeks has been kind of piecemeal optimization… now I’m looking through the code, line-by-line, to see how everything fits together. Read More

findLongestCommonSubstring – question

by Brian | 12th June 2009

I need to find how longestCommonSubstring relates to the overall score. I’m concerned that it may not be the proper algorithm for first-pass selection of potential loci. For example, compare the following two strings: xxxxxxxAyyyyyyy xxxxxxxByyyyyyy the longest common substring between the two is only 7 characters long, when there are really 14 in common. [...] Read More

findLongestCommonSubstring – short sequence

by Brian | 12th June 2009

It would be interesting to check results to see if longestCommonSubstring were skipped where the query sequence were significantly longer than the comparison sequence.  perhaps an if clause which has a cut-off based on the length of the existing longest string relative to the length of the sequence string. Read More

findLongestCommonSubstring

by Brian | 12th June 2009

As I believe characters are stored as a type of integer, converting to an integer array may be redundant and counter to its goal of expediting comparisons.  Test time performance when removing this step. Read More

First post

by Brian | 12th June 2009

Site created.  Getting back to reviewing grant.  Yesterday all admin related duties completed (TIM account now working). Read More

Page 5 of 512345