Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
profileview
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Riccardo Vicedomini
profileview
Commits
8dba0a4a
Commit
8dba0a4a
authored
Jun 27, 2019
by
Riccardo Vicedomini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hmmsearch output is now compressed while it's being generated
parent
11260ff8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
+4
-8
profileview-tree
profileview-tree
+4
-8
No files found.
profileview-tree
View file @
8dba0a4a
...
...
@@ -197,14 +197,13 @@ fi
# Run hmmsearch for each model of the library against the input sequences
print_status
"running hmmsearch against input sequences"
HMMSEARCH_RESDIR
=
"
${
PV_TMPDIR
}
"
/hmmsearch
mkdir
-p
"
${
HMMSEARCH_RESDIR
}
"
HMMSEARCH_RESFILE
=
"
${
PV_TMPDIR
}
"
/hmmsearch.out.gz
for
hmm
in
"
${
PV_LIBDIR
}
"
/hmm/
*
.hmm
;
do
[
-e
"
${
hmm
}
"
]
||
continue
hmmBase
=
${
hmm
##*/
}
hmmName
=
${
hmmBase
%.hmm
}
echo
"hmmsearch
-o
${
HMMSEARCH_RESDIR
}
/
${
hmmName
}
.out
${
hmm
}
${
INPUT_FASTA
}
2>>
${
PV_LOGFILE
}
"
done
|
${
PEXEC_CMD
}
echo
"hmmsearch
${
hmm
}
${
INPUT_FASTA
}
2>>
${
PV_LOGFILE
}
"
done
|
${
PEXEC_CMD
}
| gzip
-c
>
"
${
HMMSEARCH_RESFILE
}
"
if
[
$?
-ne
0
]
;
then
print_error
"error during hmmsearch jobs, see log:
${
PV_LOGFILE
}
"
exit
1
...
...
@@ -213,10 +212,7 @@ fi
print_status
"processing hmmsearch output files"
PV_HMMLIB
=
"
${
PV_LIBDIR
}
"
/
"
${
PV_LIBNAME
}
"
.hmmdict.pgz
PV_SCOREFILE
=
"
${
PV_TMPDIR
}
"
/hmmsearch.scores
for
f
in
"
${
HMMSEARCH_RESDIR
}
"
/
*
.out
;
do
[
-e
"
${
f
}
"
]
||
continue
cat
"
${
f
}
"
done
| python3
"
${
SCRIPTS_DIR
}
"
/parseHMMER.py
--hmmer-dict
"
${
PV_HMMLIB
}
"
--seq-db
"
${
PV_SEQDESC
}
"
>
"
${
PV_SCOREFILE
}
"
2>>
"
${
PV_LOGFILE
}
"
zcat
"
${
HMMSEARCH_RESFILE
}
"
| python3
"
${
SCRIPTS_DIR
}
"
/parseHMMER.py
--hmmer-dict
"
${
PV_HMMLIB
}
"
--seq-db
"
${
PV_SEQDESC
}
"
>
"
${
PV_SCOREFILE
}
"
2>>
"
${
PV_LOGFILE
}
"
if
[
$?
-ne
0
]
;
then
print_error
"error during processing of hmmsearch results, see log:
${
PV_LOGFILE
}
"
exit
1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment