Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
RNAflow
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hub
RNAflow
Commits
079ddd89
Commit
079ddd89
authored
4 years ago
by
Rachel LEGENDRE
Browse files
Options
Downloads
Patches
Plain Diff
Upload New File
parent
a16efa76
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
workflow/rules/bowtie2_index.rules
+54
-0
54 additions, 0 deletions
workflow/rules/bowtie2_index.rules
with
54 additions
and
0 deletions
workflow/rules/bowtie2_index.rules
0 → 100644
+
54
−
0
View file @
079ddd89
#########################################################################
# RNAsig: an automated pipeline to detect RNA signatures on viruses #
# #
# Authors: Rachel Legendre #
# Copyright (c) 2020-2021 Institut Pasteur (Paris). #
# #
# This file is part of RNAsig workflow. #
# #
# RNAsig is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation, either version 3 of the License, or #
# (at your option) any later version. #
# #
# RNAsig is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details . #
# #
# You should have received a copy of the GNU General Public License #
# along with RNAsig (LICENSE). #
# If not, see <https://www.gnu.org/licenses/>. #
#########################################################################
rule bowtie2_index:
"""
Genome indexation for Bowtie2 mapper
Required input:
__bowtie2_index__fasta: the reference genome to indexed in FASTA format
Required output:
__bowtie2_index__output_done: done file for bowtie2 mapping rule
params:
__bowtie2_index__output_prefix: the directory where write the index
"""
input:
fasta = __bowtie2_index__fasta
output:
__bowtie2_index__output_done
singularity:
"rnasig.img"
params:
prefix = __bowtie2_index__output_prefix
log:
__bowtie2_index__log
shell:
"""
bowtie2-build {input.fasta} {params.prefix} 2> {log}
samtools faidx {input.fasta} 2>> {log}
"""
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