Sent some files back channel. > From: Jay Reeve <jayreeve@...> > Reply-To: <futurebasic@...> > Date: Mon, 27 Sep 2010 15:54:50 -0500 > To: <futurebasic@...> > Subject: Re: [FB] Read binary data - need help > > Pierre, > > This sounds like it may be up my alley. May I take a look? > > Jay > > > On Sep 27, 2010, at 12:56 PM, PZ wrote: > >> Hi list, >> >> I need help. >> >> I wrote a simple data conversion program that reads four files and >> assembles >> the data into a tab-delimited spreadsheet. >> >> one file contains the column labels - C >> one file contains the row labels - R >> and a third file contains the Abundance of C in sample R as >> R,C,A¶ >> R,C,A¶ >> R,C,A¶ >> ... >> R,C,A¶ >> A header file (4th) is always saved as text. >> >> The original 30 year defunct (not available) program saved data as >> ASCII >> text or binary. My FB4 program works with 'text' files, but not >> with the >> binary. >> >> I've tried to figure this one out, but must admit failure. Can >> someone who >> is a better programmer (most of this list) help me out. There may be a >> little bit of money associated with this. It is an academic >> endeavor, not >> commercial, so I guessing it won't be a lot. >> >> For the text files, my program reads R,C,A line by line and parses >> the puts >> the abundance A into an ArrayData(R,C). It reads samples line by >> line and >> puts row labels into RowLabel$(R) and it reads Column labels and >> put those >> into ColumnLabel$. >> The row and column label files are easy enough to decipher with >> TextWrangler, but the abundance file looks a bit crazy to me. >> >> If someone wants to give it a try, let me know and I will send >> files back >> channel. >> >> -- >> To unsubscribe, send ANY message to: futurebasic- >> unsubscribe@... >> >> > > -- > To unsubscribe, send ANY message to: futurebasic-unsubscribe@... >