Description

Aligns a subset of RNASeq reads from a CRAM file to a reference genome using STAR, pipes the resulting alignments through samtools fixmate and samtools sort, outputting an alignment in BAM format.

Input

Name
Description
Pattern

meta (map)

Groovy Map containing sample information e.g. [ id:'test', single_end:false ]

cram (file)

Cram file containing interleved paired-end illumina reads

*.cram

crai (file)

CRAM index file

*.crai

rglines (list)

A list of strings, each a valid SAM-format @RG header line, to pass to the aligner

meta2 (map)

Groovy Map containing sample information e.g. [ id:'test', single_end:false ]

index (directory)

STAR genome index

star

assembly (file)

reference genome assembly

*.fasta(.gz)?

chunkn (integer)

Integer index of CRAM chunk to map

range (list)

Start and end indices defining CRAM slices to align

Output

Name
Description
Pattern

bam

meta (map)

Groovy Map containing sample information e.g. [ id:'sample1' ]

*.bam (file)

BAM file of mapped sequences

*.bam

versions_star

${task.process} (string)

The name of the process

star (string)

The name of the tool

STAR --version | sed -e "s/STAR_//g" (eval)

The expression to obtain the version of the tool

versions_samtools

${task.process} (string)

The name of the process

samtools (string)

The name of the tool

samtools --version | head -1 | sed -e "s/samtools //" (eval)

The expression to obtain the version of the tool

Topics

Name
Description
Pattern

versions

${task.process} (string)

The name of the process

star (string)

The name of the tool

STAR --version | sed -e "s/STAR_//g" (eval)

The expression to obtain the version of the tool

${task.process} (string)

The name of the process

samtools (string)

The name of the tool

samtools --version | head -1 | sed -e "s/samtools //" (eval)

The expression to obtain the version of the tool

Tools

star Documentation

STAR is a software package for mapping DNA sequences against a large reference genome, such as the human genome.

samtools Documentation

SAMtools is a set of utilities for interacting with and post-processing short DNA sequence read alignments in the SAM, BAM and CRAM formats, written by Heng Li. These files are generated as output by short read aligners like BWA.