Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
IMP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IMP-dev
IMP
Commits
bd9bbf43
Commit
bd9bbf43
authored
9 years ago
by
Shaman Narayanasamy
Browse files
Options
Downloads
Plain Diff
Merge branch 'dev' of
ssh://git-r3lab-server.uni.lu:8022/shaman.narayanasamy/IMP
into dev
parents
c49c95ca
f2661f65
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
docker/Dockerfile
+14
-7
14 additions, 7 deletions
docker/Dockerfile
init.rule
+7
-0
7 additions, 0 deletions
init.rule
lib/imp.js
+3
-4
3 additions, 4 deletions
lib/imp.js
rules/Util.rules
+6
-2
6 additions, 2 deletions
rules/Util.rules
with
30 additions
and
13 deletions
docker/Dockerfile
+
14
−
7
View file @
bd9bbf43
...
...
@@ -154,17 +154,22 @@ RUN cd /home/imp/tmp \
&& ./configure \
&& make \
&& make install \
&& cd .. && rm -rf parallel* \
&& cd .. && rm -rf parallel*
## sortmerna
RUN
cd
/home/imp/tmp
\
&&
wget
--no-check-certificate
https://webdav-r3lab.uni.lu/public/R3lab/IMP/sortmerna.2.0.tgz
\
&&
tar
-xzf
sortmerna.2.0.tgz
\
&&
cd
sortmerna-2.0
\
&&
sh build.sh
\
&&
mv
sortmerna indexdb_rna /usr/bin/.
\
&&
mv
scripts/
*
.sh /home/imp/lib/.
\
&& cd .. && rm -rf sortmerna*
\
&&
cd
..
&&
rm
-rf
sortmerna
*
## bedtools2
&& git clone https://git-r3lab.uni.lu/R3/bedtools2.git \
RUN
cd
/home/imp/tmp
\
&&
git config
--global
http.postBuffer 2M
\
&&
git config
--global
http.maxRequestBuffer 100M
\
&&
GIT_CURL_VERBOSE
=
1 git clone https://git-r3lab.uni.lu/R3/bedtools2.git
\
&&
cd
bedtools2
\
&&
git checkout v2.22.0
\
&&
make
...
...
@@ -210,10 +215,12 @@ RUN cd /home/imp/lib
## Quast/metaQuast
RUN
cd
/home/imp/lib
\
&&
git clone https://github.com/ablab/quast.git
\
&&
cd
quast
\
&&
git checkout release_3.1
\
&&
./metaquast.py
--test-no-ref
\
&&
git config
--global
http.postBuffer 2M
\
&&
git config
--global
http.maxRequestBuffer 100M
\
&&
git config
--global
core.compression 0
\
&&
wget https://github.com/ablab/quast/archive/release_3.1.zip
-O
quast.zip
\
&&
unzip quast.zip
\
&&
cd
quast-release_3.1
\
&&
ln
-s
$PWD
/metaquast.py /usr/bin/metaquast
######################
...
...
This diff is collapsed.
Click to expand it.
init.rule
+
7
−
0
View file @
bd9bbf43
...
...
@@ -34,6 +34,13 @@ rule _DOWNLOAD_HUMAN_DB:
rm -rf $TMPD
"""
rule _INIT_QUAST:
output:
""
shell:
"""
metaquast --test-no-ref
"""
rule _DOWNLOAD_SORTMERNA_DATABASES:
output:
...
...
This diff is collapsed.
Click to expand it.
lib/imp.js
+
3
−
4
View file @
bd9bbf43
...
...
@@ -253,12 +253,11 @@ $('#but-variant').on('change', function(){
// set last tab in cookie
$
(
'
#tabs a[data-toggle="tab"]
'
).
on
(
'
shown.bs.tab
'
,
function
(
e
)
{
Cookies
.
set
(
'
tab
'
,
'
#
'
+
e
.
target
.
id
);
e
.
target
$
.
cookie
(
'
tab
'
,
$
(
e
.
target
).
attr
(
'
href
'
));
})
// show lat iopenned tab or first one
if
(
C
ookie
.
get
(
'
tab
'
)){
$
(
C
ookie
.
get
(
'
tab
'
)).
tab
(
'
show
'
)
;
if
(
$
.
c
ookie
(
'
tab
'
)){
$
(
'
#tabs li > a[href=
'
+
$
.
c
ookie
(
'
tab
'
)
+
'
]
'
).
tab
(
'
show
'
)
}
else
{
$
(
'
#tabs li:first > a
'
).
tab
(
'
show
'
);
}
...
...
This diff is collapsed.
Click to expand it.
rules/Util.rules
+
6
−
2
View file @
bd9bbf43
...
...
@@ -42,7 +42,6 @@ rule REPORT:
"lib/bootstrap.min.css",
"lib/bootstrap.min.js",
"lib/imp.js",
] +
expand(["{dir}/workflow.png", "{dir}/workflow.pdf"], dir=OUTPUTDIR)
output:
...
...
@@ -56,7 +55,12 @@ rule REPORT:
towrite = json.dumps(config)
whandle.write("IMP_CONFIG = %s;" % towrite)
shell("cp {input[0]} {params.outdir}/REPORT.html")
shell("cp {input[1:]} {params.outdir}")
shell("cp -f {input[1]} {params.outdir}")
shell("cp -f {input[2]} {params.outdir}")
shell("cp -f {input[3]} {params.outdir}")
shell("cp -f {input[4]} {params.outdir}")
shell("cp -f {input[5]} {params.outdir}")
shell("cp -f {input[6]} {params.outdir}")
rule REPORT2:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment