Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Now both GW Intra and single chromosome EV calculation should also work for version 9 hic files.
  • Loading branch information
moshe-olshansky authored Jul 16, 2021
1 parent 005b6c6 commit 68c399f
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions C++/FlipSign/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
**GW**
**GW Intra**

To create the executable do:

**g++ -O --std=c++0x -o GWevIntra_special.exe GWevIntra_special.cpp getHiCInfo.cpp theBestEigen.c thdMul.c hgFlipSign.c straw.cpp -I. -lz -lcurl -lpthread**
**g++ -O -o newGW_Intra_Flip.exe GWevIntra_new.cpp theBestEigen.c thdMul.c hgFlipSign.c straw.cpp -I. -lz -lcurl -lpthread**

Run **./GWevIntra_special.exe** to see the usage.
Run **./newGW_Intra_Flip.exe** to see the usage.

Unless **-o observed** is specified, the **o/e** matrices will be used.

Expand All @@ -16,10 +16,13 @@ Outputs the GW intrachromosomal eigenvector in wig format. Flips the sign so tha

To create the executable do:

**g++ -O --std=c++0x -o theEigenVector_flip.exe theEigenVector_flip.cpp getHiCInfo.cpp theBestEigen.c thdMul.c hgFlipSign.c straw.cpp -I. -lz -lcurl -lpthread**
**g++ -O -o newSingleFlip.exe theEigenVector_flip_new.cpp theBestEigen.c thdMul.c hgFlipSign.c straw.cpp -I. -lz -lcurl -lpthread**

Run **./theEigenVector_flip.exe** to see the usage.
Run **./newSingleFlip.exe** to see the usage.

Unless **-o observed** is specified, the **o/e** matrices will be used.

Unlike the GW case, only the eigenvector (with NaNs) is generated.


**IMPORTANT:** by default both GW Intral and single chromosome cakculations are done on the unnormalized matrix. Specify **-n desired_norm** to run on the desired_norm normalized matrix.

0 comments on commit 68c399f

Please sign in to comment.