Help again plz
Posted by: Marwa
Date: March 09, 2013 09:54AM

Dear Philippe

really thank you very much
i tried it and it give me the results smiling smiley

i want to ask u if u can help me in dealing with data like this

>tr|A0A9S4|A0A9S4
MLEALASLLASNKYFFDVNEPSWLDCKAFAVLAQFKYTPLQNEARVKQFMKDRTPNLMTF
VTRMKEEFWSDWCTTSED

>tr|A0A9S5|A0A9S5
MNRKTALLTTLPRTVTVPYYAPSCLFLETFLRSKLIPYETTQCSLYNVLPREHLYPLIDV
DGYFFKNLMEGLDYLLAKYGKSLDSGLY

>tr|A0A9S6|A0A9S6
MQFTYFPRVSIKLYMLALLILLLAAQQITPQCQQCGNRRIVQQYRSYPQKKFNFNFEQFF
SRFPGFTSPQRQPP

>tr|A0A9S7|A0A9S7
MPGLIGLGLLILLGFHVTYSTQCDCNSSCAIYTSPVQCVRCCTHYVKRRSLPLHPAHRKR
QFLLTESTKIKHPIWRRPVEPMVEESLPRLIRLLLRKPL

>tr|A0A9S8|A0A9S8
SSLAACFINIFMLTKMERKKKDMILFYFRIFLDMVIGALVALFLLI
GIINTSSPIQFSEMQSLMFYLGLASSNLVTVRSIIVLSVSTERAVATYMPMFFYKYHEQS
PRISIILIAVSFGMFESLVLFVFCSFELNLSASCAAMGC


the new transaction (sequence) begins with ">" and the mining process should start from the next line, and the transaction can be in many lines.

the characters beside ">" is the transaction ID.

also if the memory consumption function can be added to it.

sorry for annoying you but i am in a very need to compare this with my work


waiting ur reply
and thx very much again smiling smiley

Re: Help again plz
Date: March 10, 2013 10:52AM

Hi,

Could you send your input file to my e-mail : philippe.fv (AT) gmail.com

This would allow me to make sure that it reads the correct format.

To check the memory, you just need to add these two lines:

double currentMemory = (Runtime.getRuntime().totalMemory() -  Runtime.getRuntime().freeMemory())
				/ 1024d / 1024d;
		System.out.println(" Memory = " + currentMemory);

You can add them at the end of runAlgorithm() in the class AlgoPrefixSpanStrings that you are using or anywhere else but after running the algorithm.

Philippe



Edited 2 time(s). Last edit at 03/10/2013 10:53AM by webmasterphilfv.

Re: Help again plz
Posted by: Marwa
Date: March 11, 2013 04:22AM

Hi,

I sent to you the input file

waiting your reply
thx smiling smiley

This forum is powered by Phorum and provided by P. Fournier-Viger (© 2012).
Terms of use.