Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
process_scripts
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container 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
NGS CLIA Lab
process_scripts
Commits
5332c4bf
Commit
5332c4bf
authored
4 years ago
by
Brandi Cantarel
Browse files
Options
Downloads
Patches
Plain Diff
update trim for se
parent
16061b5a
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
preproc_fastq/trimgalore.sh
+10
-5
10 additions, 5 deletions
preproc_fastq/trimgalore.sh
with
10 additions
and
5 deletions
preproc_fastq/trimgalore.sh
+
10
−
5
View file @
5332c4bf
...
...
@@ -31,7 +31,6 @@ fi
fqs
=
''
i
=
0
numfq
=
$#
while
[[
$i
-le
$numfq
]]
do
fqs
=
"
$fqs
$1
"
...
...
@@ -51,17 +50,23 @@ then
fi
numfq
=
${#
fqs
[@]
}
copts
=
'-q 25 --illumina --gzip --length 35'
if
[[
$numfq
==
2
]]
then
copts
=
"
$copts
--paired"
fi
source
/etc/profile.d/modules.sh
module load trimgalore/0.6.4 cutadapt/2.5
if
[
$numfq
>
1
]
trim_galore
$copts
${
fqs
}
files
=
`
find ./
-name
"*_val_1.fq.gz"
`
if
[[
-n
$files
]]
then
trim_galore
--paired
-q
25
--illumina
--gzip
--length
35
${
fqs
}
mv
*
_val_1.fq.gz
${
pair_id
}
.trim.R1.fastq.gz
mv
*
_val_2.fq.gz
${
pair_id
}
.trim.R2.fastq.gz
else
trim_galore
-q
25
--illumina
--gzip
--length
35
${
fqs
}
mv
*
_trimmed.fq.gz
${
pair_id
}
.trim.R1.fastq.gz
cp
${
pair_id
}
.trim.R1.fastq.gz
${
pair_id
}
.trim.R2.fastq.gz
fi
...
...
This diff is collapsed.
Click to expand it.
Preview
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!
Save comment
Cancel
Please
register
or
sign in
to comment