Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ascii-alignment-pileup
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
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository 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
zavolan_group
tools
ascii-alignment-pileup
Commits
edff11c7
Commit
edff11c7
authored
2 years ago
by
Alex Kanitz
Browse files
Options
Downloads
Patches
Plain Diff
build: add Conda environment specification
parent
41f2ae2d
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!6
build: add Conda environment specification
Pipeline
#14482
passed
2 years ago
Stage: test
Changes
4
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitignore
+61
-0
61 additions, 0 deletions
.gitignore
README.md
+17
-6
17 additions, 6 deletions
README.md
environment.yml
+6
-0
6 additions, 0 deletions
environment.yml
tests/test.sh
+1
-1
1 addition, 1 deletion
tests/test.sh
with
85 additions
and
7 deletions
.gitignore
0 → 100644
+
61
−
0
View file @
edff11c7
# Created by https://www.toptal.com/developers/gitignore/api/r
# Edit at https://www.toptal.com/developers/gitignore?templates=r
### R ###
# History files
.Rhistory
.Rapp.history
# Session Data files
.RData
.RDataTmp
# User-specific files
.Ruserdata
# Example code in package build process
*-Ex.R
# Output files from R CMD build
/*.tar.gz
# Output files from R CMD check
/*.Rcheck/
# RStudio files
.Rproj.user/
# produced vignettes
vignettes/*.html
vignettes/*.pdf
# OAuth2 token, see https://github.com/hadley/httr/releases/tag/v0.3
.httr-oauth
# knitr and R markdown default cache directories
*_cache/
/cache/
# Temporary files created by R markdown
*.utf8.md
*.knit.md
# R Environment Variables
.Renviron
# pkgdown site
docs/
# translation temp files
po/*~
# RStudio Connect folder
rsconnect/
### R.Bookdown Stack ###
# R package: bookdown caching files
/*_files/
# End of https://www.toptal.com/developers/gitignore/api/r
tests/test_files/test.fa.gz.fai
tests/test_files/test.fa.gz.gzi
This diff is collapsed.
Click to expand it.
README.md
+
17
−
6
View file @
edff11c7
...
...
@@ -13,16 +13,26 @@ ascii_alignment_pileup.R [-hv] [OPTIONS] bed bam [bam2 ...]
## Requirements
*
`R`
3.6.0 / 4.2.1
*
`R`
3.6.0 /
4.1.3 /
4.2.1
*
`optparse`
1.6.2 / 1.7.1
*
`rtracklayer`
1.44.0 / 1.56.1
*
`rtracklayer`
1.44.0 /
1.54.0 /
1.56.1
The script was successfully tested with the indicated versions. Other versions
may work as well, but have not been tested.
For convenience, you can build a container with all required software from the
provided
`Dockerfile`
with
`docker build .`
. Alternatively, you can also pull a
prebuilt Docker image from
## Installation
The easiest way to install the script is via
[
Conda
][
conda
]
. If you have Conda
installed, all you need to do is:
```
conda env create -f environment.yml
conda activate ascii-alignment-pileup
```
Alternatively, you can build a container with all required software from the
provided
`Dockerfile`
with
`docker build .`
. You can also pull a prebuilt
Docker image from
<https://hub.docker.com/repository/docker/zavolab/ascii-alignment-pileup>
.
## Input files
...
...
@@ -204,6 +214,7 @@ Email: <zavolab-biozentrum@unibas.ch>
[
bed
]:
<
https://www.ensembl.org/info/website/upload/bed.html
>
[
bgzip
]:
<
http://www.htslib.org/doc/bgzip.html
>
[
biocontainers
]:
<
https://biocontainers.pro/
>
[
conda
]:
<
https://docs.conda.io/en/latest/
>
[
fasta
]:
<
https://en.wikipedia.org/wiki/FASTA_format
>
[
gff
]:
<
https://en.wikipedia.org/wiki/General_feature_format
>
[
htslib
]:
<
https://github.com/samtools/htslib
>
\ No newline at end of file
[
htslib
]:
<
https://github.com/samtools/htslib
>
This diff is collapsed.
Click to expand it.
environment.yml
0 → 100644
+
6
−
0
View file @
edff11c7
name
:
ascii-alignment-pileup
channels
:
-
bioconda
dependencies
:
-
r-optparse=1.7.1
-
bioconductor-rtracklayer=1.54.0
This diff is collapsed.
Click to expand it.
tests/test.sh
+
1
−
1
View file @
edff11c7
...
...
@@ -17,7 +17,7 @@ user_dir=$PWD
script_dir
=
"
$(
cd
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
>
/dev/null 2>&1
&&
pwd
)
"
cd
$script_dir
ascii_alignment_pileup.R
\
../
ascii_alignment_pileup.R
\
--verbose
\
--reference
=
"test_files/test.fa.gz"
\
--annotations
=
"test_files/test.gff"
\
...
...
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