Skip to content

Commit

Permalink
update gMotifs
Browse files Browse the repository at this point in the history
  • Loading branch information
Matteo Cereda committed Aug 31, 2016
1 parent 9aae724 commit 4d8df8d
Show file tree
Hide file tree
Showing 11 changed files with 91 additions and 259 deletions.
4 changes: 2 additions & 2 deletions gMotifs/README
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ To run executables you will need :

3. Run ./counting splicing_change_filename -s species -p protein -t type[redundat/not_redundat] -d date_of_analyses

i.e ./counting splicing_change_filename -shg19 -pPTB -tR -d20130929
i.e ./counting splicing_change_filename -sH -pPTB -tR -d20130929


4. Run ./tetramer splicing_change_filename -s species -p protein -t type[redundat/not_redundat] -d date_of_analyses

i.e ./tetramer splicing_change_filename -shg19 -pPTB -tR -d20130929
i.e ./tetramer splicing_change_filename -sH -pPTB -tR -d20130929



10 changes: 1 addition & 9 deletions gMotifs/counting.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,7 @@ int main(int argc, char *argv[]){

int ret = 0;

if( argc<2 ){
cout << "Missing splicing change filename" << endl;
return -1;
}

string splicing_change(argv[1]),
percent = string("percent_0.5/");

ret = counting_per_region(opt,splicing_change,percent);
ret = counting_per_region(opt);
}catch (exception& e){
cerr << "exception caught: " << e.what() << endl;
}
Expand Down
2 changes: 1 addition & 1 deletion gMotifs/geco_array.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
***************************************************************************/

#include "geco_array.h"
#include <string.h>
//#include <string.h>

using namespace std;
using namespace geco;
Expand Down
5 changes: 4 additions & 1 deletion gMotifs/geco_array.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,11 @@

#include "geco_base.h"
#include <math.h>
#include <string.h>
#include <string>
#include <vector>
#include <memory.h>

using namespace std;

namespace geco {

Expand Down
3 changes: 2 additions & 1 deletion gMotifs/geco_base.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
#include "geco_base.h"
#include <string.h>
//#include <string.h>
#include <cstring>

namespace geco {
//--------------------------------------------------------------------------
Expand Down
1 change: 1 addition & 0 deletions gMotifs/geco_base.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
#include <math.h>
#include <exception>
#include <string>
#include <memory.h>

namespace geco {

Expand Down
Loading

0 comments on commit 4d8df8d

Please sign in to comment.