Skip to content

Commit e80379c

Browse files
committed
update script to new versions
1 parent 359c61e commit e80379c

File tree

2 files changed

+14
-5
lines changed

2 files changed

+14
-5
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@ TAPscan (perl) script to detect TAPs (Transcription Associated Proteins) in your
1010

1111
## Quickstart
1212

13-
See the `test-data` folder for example data and TAPscan run script.
13+
The `test-data` folder contains example data (input and output). To run TAPscan on this folder, use the `tapscan_run.sh` script.
14+
15+
```
16+
./tapscan_run.sh test-data
17+
```
1418

1519
## Usage
1620

tapscan_run.sh

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
#!/usr/bin/env bash
22
# USAGE: tapscan_run.sh path/to/folder/with/fastafiles
33

4+
tapscan_script='./tapscan_classify_v4.76.pl'
5+
domains="domains_v13.txt"
6+
rules="rules_v82.txt"
7+
coverage="coverage_values_v11.txt"
8+
49
# use current directory if none supplied as parameter
510
seqfolder=${1:-.}
611

@@ -14,18 +19,18 @@ NAME=$(basename $i .fa)
1419

1520
# run HMMr search
1621
echo "Running HMMsearch for $NAME"
17-
hmmsearch --domtblout "$NAME.domtblout" --cut_ga domains_v12.txt "$i"
22+
hmmsearch --domtblout "$NAME.domtblout" --cut_ga $domains "$i"
1823

1924
# run TAPscan script
2025
echo "Running TAPscan Classify for $NAME"
2126

22-
./tapscan_classify.pl \
27+
$tapscan_script \
2328
"$NAME.domtblout" \
24-
rules_v81.txt \
29+
$rules \
2530
"$NAME.output.1.family_classifications.txt" \
2631
"$NAME.output.2.family_statistics.txt" \
2732
"$NAME.output.3.subfamily_classifications.txt" \
28-
coverage_values_v10.txt
33+
$coverage
2934

3035
done
3136
shopt -u nullglob

0 commit comments

Comments
 (0)