File tree Expand file tree Collapse file tree 2 files changed +14
-5
lines changed
Expand file tree Collapse file tree 2 files changed +14
-5
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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
510seqfolder=${1:- .}
611
@@ -14,18 +19,18 @@ NAME=$(basename $i .fa)
1419
1520# run HMMr search
1621echo " 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
2025echo " 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
3035done
3136shopt -u nullglob
You can’t perform that action at this time.
0 commit comments