Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Klinische Genetica
capture-lumc
hutspot
Commits
fef1b927
Commit
fef1b927
authored
May 08, 2019
by
Sander Bollen
Browse files
emulate truncate with head -c 0
parent
2a5d61bb
Pipeline
#2579
canceled with stages
in 1 minute and 39 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/safe_fastqc.sh
View file @
fef1b927
...
...
@@ -26,13 +26,13 @@ odir=${5}
fastqc
--nogroup
-o
${
odir
}
${
input_r1
}
${
input_r2
}
if
[[
-f
${
output_r1
}
]]
;
then
unzip
-l
${
output_r1
}
||
truncate
-s
0
${
output_r1
}
unzip
-l
${
output_r1
}
||
head
-c
0
${
output_r1
}
>
${
output_r1
}
else
touch
${
output_r1
}
fi
if
[[
-f
${
output_r2
}
]]
;
then
unzip
-l
${
output_r2
}
||
truncate
-s
0
${
output_r2
}
unzip
-l
${
output_r2
}
||
head
-c
0
${
output_r2
}
>
${
output_r2
}
else
touch
${
output_r2
}
fi
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment