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
Merge requests
!1
docs: add README.md
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
docs: add README.md
add_readme
into
main
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Alex Kanitz
requested to merge
add_readme
into
main
2 years ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Compare
main
main (base)
and
latest version
latest version
a3ab4a7e
1 commit,
2 years ago
1 file
+
121
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
README.md
0 → 100644
+
121
−
0
Options
# ASCII-style alignment pileup
## Description
Generates an ASCII-style pileup of read alignments in one or more BAM files
against one or more regions specified in a BED file.
## Usage
```
sh
ascii_alignment_pileup.R
[
-hv
]
[
OPTIONS] bed bam
[
bam2 ...]
```
## Requirements
*
R 3.6.0
*
GenomicAlignments 1.20.0
*
optparse 1.6.2
*
rtracklayer 1.44.0
*
tools 3.6.0
## Input files
*
[
BED
](
https://www.ensembl.org/info/website/upload/bed.html
)
file
*
[
BAM
](
https://samtools.github.io/hts-specs/
)
file(s)
*
Optional:
[
FASTA
](
https://en.wikipedia.org/wiki/FASTA_format
)
file compressed
with
[
`bgzip`
](
http://www.htslib.org/doc/bgzip.html
)
*
Optional:
[
GFF/GTF/GFF3
](
https://en.wikipedia.org/wiki/General_feature_format
)
file
## Output files
*
Custom file format:
```
console
>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
hsa-let-7a-1
.....>
>>>>>>>>>>>>>>>>>>>>>
..................................................... hsa-let-7a-5p
........................................................>
>>>>>>>>>>>>>>>>>>>>
... hsa-let-7a-3p
TGGGATGAGGTAGTAGGTTGTATAGTTTTAGGGTCACACCCACCACTGGGAGATAACTATACAATCTACTGTCTTTCCTA 9:94175957-94176036:+
TACCATGAGGTAGTAGGTTGTATAGTT..................................................... 1
...CATGAGGTAGTAGGTTGTATAGTT..................................................... 10
...GA-GAGGTAGTAGGTTGTATAGTT..................................................... 2
....A-GAGGTAGTAGGTTGTATAGTT..................................................... 19
.....TGAGGTAGTAGGTTGTATAGTT..................................................... 17
......GAGGTAGTAGGTTGTATAGTT..................................................... 33
.......AGGTAGTAGGTTGTATAGTT..................................................... 9
.......AGGTAGTAGGTTGTATAGTTT.................................................... 2
........GGTAGTAGGTTGTATAGTT..................................................... 7
...................................................GATAACTATACAATCTACTGTCTT..... 1
......................................................AACTATACAATCTACT.......... 1
........................................................CTATACAATCTACTGTCTTTCT.. 28
........................................................CTATACAATCTACTGTCTTTC-T. 22
........................................................CTATACAATCTACTGTCTTTCC.. 19
........................................................CTATACAATCTACTGTCTTTC... 12
........................................................CTATACAATCTACTGTCTTTCTT. 2
........................................................CTATACAATCTACTGTC....... 1
........................................................CTATACAATCTACTGTCTT..... 1
........................................................CTATACAATCTACTGTCTTTCG.. 1
.........................................................TATACAATCTACTGTCTTTCT.. 4
.........................................................TATACAATCTACTGTCTTTC-T. 4
.........................................................TATACAATCTACTGTCTTTC... 2
.........................................................TATACAATCTACTGTCTTTCC.. 1
.........................................................TATACAATCTACTGTCTTTCCT. 1
```
## Options
```
console
--reference=FILE
Reference genome sequence in FASTA format. The file *MUST* be compressed
with BGZIP. If supplied, the reference sequence for the query region(s) will
be added to the output. Note that on the first run with a specific reference
genome file, an FAI index is generated which will take some time.
--annotations=FILE
Annotation file in GFF/GTF format used to annotate sequences. If
supplied, features overlapping the query region(s) will be visualized in the
output. Ensure that the argument to option `annotation-name-field`
corresponds to a field in the annotations, otherwise the script will fail.
--output-directory=DIR
Output directory. One output file will be created for each region in
`--bed` and the filenames will be generated from the basenames of the
supplied BAM file(s) and the name field (4th column) of the BED file.
[default "."]
--maximum-region-width=INT
Maximum input region width. Use with care as wide regions will use
excessive resources. [default 200]
--do-not-collapse-alignments
Show alignments of reads with identical sequences individually.
--minimum-count=INT
Alignments of reads with less copies than the specified number will not
be printed. Option is not considered if `do-not-collapse-alignments` is
set. [default 1]
--annotation-name-field=STR
Annotation field used to populate the `name` column in the output.
[default "Name"]
--padding-character=CHAR
Character used for padding alignments. [default "."]
--indel-character=CHAR
Character to denote insertions and deletions in alignments.
[default "-"]
-h, --help
Show this information and die.
-v, --verbose
Print log messages to STDOUT.
```
## Contact
Email:
<zavolab-biozentrum@unibas.ch>
©
2019 Zavolab, Biozentrum, University of Basel
Loading