Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
aqzas committed Dec 13, 2018
1 parent 0e4b088 commit b8e2175
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ docker build -t catt .
pip install -r requirements.txt
```
or manually install the requirements:
* Biopython \>=1.71
* pandas \>=0.23.1
* cffi \>= 1.11.5
* Biopython \>=1.71
* pandas \>=0.23.1
* cffi \>= 1.11.5

6. configure the bowtie2 path samtools path in `initialize.py` if they are not in environment variables
```
Expand Down Expand Up @@ -127,9 +127,9 @@ option:
For user install catt with docker:
```Shell
### For sam/bam format, single-end input:
docker run -it --rm -v $PWD:/input catt /catt/catt.py [option] -f /input/inputFile -o outputName
docker run -it --rm -v $PWD:/output catt /catt/catt.py [option] -f /output/inputFile -o outputName
### For paired-end input:
docker run -it --rm -v $PWD:/input catt /catt/catt.py [option] -1 /input/inputFile1 -2 input/inputFile2 -o outputName
docker run -it --rm -v $PWD:/output catt /catt/catt.py [option] -1 /output/inputFile1 -2 output/inputFile2 -o outputName
```
Where `$PWD` is the path of folder contain your input data

Expand Down
2 changes: 1 addition & 1 deletion catt.py
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@ def prob(self, seq):
output = output.sort_values('CF').sort_values('Probability', ascending=False)
del output['CF']

output.to_csv("/input/"+args.prefix + '.CATT.csv')
output.to_csv("/output/"+args.prefix + '.CATT.csv')
if not args.debug:
os.system("rm %s" % args.prefix + '.pre.annotated.fa')

Expand Down

0 comments on commit b8e2175

Please sign in to comment.