Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
Blockkurs MicrobialBioinfo
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
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
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
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
AMR
Blockkurs MicrobialBioinfo
Commits
a9a779c5
Commit
a9a779c5
authored
1 year ago
by
Vanni Benvenga
Browse files
Options
Downloads
Plain Diff
Merge branch 'master-patch-944e' into 'master'
added script comments See merge request
!53
parents
a485cb86
bdbdd9c0
No related branches found
Branches containing commit
No related tags found
1 merge request
!53
added script comments
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
exercises/Pangenome_analysis/panaroo.sh
+9
-1
9 additions, 1 deletion
exercises/Pangenome_analysis/panaroo.sh
with
9 additions
and
1 deletion
exercises/Pangenome_analysis/panaroo.sh
+
9
−
1
View file @
a9a779c5
...
...
@@ -6,24 +6,32 @@
#SBATCH --output=panaroo_%j.out
#SBATCH --error=panaroo_%j.err
# Load singularity module
module load singularityce
# Declare variables
# input data folder
datadir
=
# results folder
wd
=
# Path to singularity images folder
singpath
=
/shares/amr.imm.uzh/bioinfo/singularity/
# Use the input data folder to generate an array containing the sample names
array
=(
$(
ls
$datadir
|
cut
-f
1
-d
'_'
|
uniq
)
)
# Move to the results folder, create input and output folders
cd
$wd
mkdir
-p
panaroo/annotation_files
mkdir
-p
panaroo/panaroo_output
# g
ff file soft link
s
# g
enerate soft links to the .gff files while looping through the sample name
s
for
sample_id
in
"
${
array
[@]
}
"
do
ln
-s
$wd
/
$sample_id
/prokka_annotation/
$sample_id
.gff
$wd
/panaroo/annotation_files/
done
# Runs singularity on the annotations and send the output to the output folder
echo
Starting panaroo
$(
date
+
"%T"
)
cd
panaroo
$singpath
/panaroo_1.3.0--pyhdfd78af_0.sif panaroo
-i
$wd
/panaroo/annotation_files/
*
.gff
-o
./panaroo_output/
--clean-mode
strict
--remove-invalid-genes
...
...
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