Skip to content

Commit

Permalink
Fixed a bug in the documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Schmidt committed Feb 2, 2017
1 parent 6d83fcf commit 958b3b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
1 change: 1 addition & 0 deletions Preprocessing/CutTrainingData.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ def main():
comp=str(sh[i].upper())
if(comp in cutSet):
temp=temp+","+str(i+2)
temp+=","+str(len(sh)-2)
integratedFile.close()
command=temp+" "+args.integratedData[0]+iFiles+" > "+args.outPath[0]+iFiles.replace(".txt","_cut.txt")
print(command)
Expand Down
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,13 +132,9 @@ python CutTestData.py <Path containing the complete TF annotation of the test da

###Merge TF annotations and DNase data for Training data, Leaderboard data, and Test data
Before we can retrain the models and apply them to the Leadeboard and the Test data, we have to merge the TF affinities and the DNase data again.
We provide three individual Python scripts to combine the TEPIC annotations with the DNase coverage data:
`Preprocessing/IntegrateTraining.py`, `Preprocessing/IntegrateLeaderboard.py`, `Preprocessing/IntegrateTest.py`
We provide two individual Python scripts to combine the TEPIC annotations with the DNase coverage data:
`Preprocessing/IntegrateLeaderboard.py`, `Preprocessing/IntegrateTest.py`

To integrate the new Training data, use the following command in the Preprocessing folder:
```
python IntegrateTraining.py <Path to the reduced TEPIC annotations of the training data> <Path to the DNase coverage data for the middle bins computed in the training regions> <Path to the DNase coverage data for the left bins computed in the training regions> <Path to the DNase coverage data for the right bins computed in the training regions> <Target directory>
```

To integrate the Leaderboard data, use the following command in the Preprocessing folder:
```
Expand Down

0 comments on commit 958b3b7

Please sign in to comment.