star/star_align_reads

align
fasta
genome

Description

Aligns reads to a reference genome using STAR.

Type

python_script

License

MIT

Keywords

align
fasta
genome

Run this component

Run the following command to execute this component with Nextflow:

cat > params.yaml <<'EOM'  
aligned_reads: "$id.$key.aligned_reads.bam"  
reads_per_gene: "$id.$key.reads_per_gene.tsv"  
unmapped: "$id.$key.unmapped.fastq"  
unmapped_r2: "$id.$key.unmapped_r2.fastq"  
chimeric_junctions: "$id.$key.chimeric_junctions.tsv"  
log: "$id.$key.log.txt"  
splice_junctions: "$id.$key.splice_junctions.tsv"  
id: "run"  
publish_dir: "output/"  
EOM

nextflow run https://packages.viash-hub.com/vsh/biobox.git \  
  -revision v0.1.0 \  
  -main-script target/nextflow/star/star_align_reads/main.nf \  
  -params-file params.yaml  

Run Parameters

Name
Type & Properties
--runRNGseed
integer

Genome Parameters

Name
Type & Properties
--genomeDir
file
required
--genomeLoad
string
--genomeFastaFiles
file
multiple
--genomeFileSizes
integer
multiple
--genomeTransformOutput
string
multiple
--genomeChrSetMitochondrial
string
multiple

Splice Junctions Database

Name
Type & Properties
--sjdbFileChrStartEnd
string
multiple
--sjdbGTFfile
file
--sjdbGTFchrPrefix
string
--sjdbGTFfeatureExon
string
--sjdbGTFtagExonParentTranscript
string
--sjdbGTFtagExonParentGene
string
--sjdbGTFtagExonParentGeneName
string
multiple
--sjdbGTFtagExonParentGeneType
string
multiple
--sjdbOverhang
integer
--sjdbScore
integer
--sjdbInsertSave
string

Variation parameters

Name
Type & Properties
--varVCFfile
string

Read Parameters

Name
Type & Properties
--readFilesType
string
--readFilesSAMattrKeep
string
multiple
--readFilesManifest
file
--readFilesPrefix
string
--readFilesCommand
string
multiple
--readMapNumber
integer
--readMatesLengthsIn
string
--readNameSeparator
string
multiple
--readQualityScoreBase
integer

Read Clipping

Name
Type & Properties
--clipAdapterType
string
--clip3pNbases
integer
multiple
--clip3pAdapterSeq
string
multiple
--clip3pAdapterMMp
double
multiple
--clip3pAfterAdapterNbases
integer
multiple
--clip5pNbases
integer
multiple

Limits

Name
Type & Properties
--limitGenomeGenerateRAM
long
--limitIObufferSize
long
multiple
--limitOutSAMoneReadBytes
long
--limitOutSJoneRead
integer
--limitOutSJcollapsed
integer
--limitBAMsortRAM
long
--limitSjdbInsertNsj
integer
--limitNreadsSoft
integer

Output: general

Name
Type & Properties
--outTmpKeep
string
--outStd
string
--outReadsUnmapped
string
--outQSconversionAdd
integer
--outMultimapperOrder
string

Output: SAM and BAM

Name
Type & Properties
--outSAMtype
string
multiple
--outSAMmode
string
--outSAMstrandField
string
--outSAMattributes
string
multiple
--outSAMattrIHstart
integer
--outSAMunmapped
string
multiple
--outSAMorder
string
--outSAMprimaryFlag
string
--outSAMreadID
string
--outSAMmapqUnique
integer
--outSAMflagOR
integer
--outSAMflagAND
integer
--outSAMattrRGline
string
multiple
--outSAMheaderHD
string
multiple
--outSAMheaderPG
string
multiple
--outSAMheaderCommentFile
string
--outSAMfilter
string
multiple
--outSAMmultNmax
integer
--outSAMtlen
integer
--outBAMcompression
integer
--outBAMsortingThreadN
integer
--outBAMsortingBinsN
integer

BAM processing

Name
Type & Properties
--bamRemoveDuplicatesType
string
--bamRemoveDuplicatesMate2basesN
integer

Output Wiggle

Name
Type & Properties
--outWigType
string
multiple
--outWigStrand
string
--outWigReferencesPrefix
string
--outWigNorm
string

Output Filtering

Name
Type & Properties
--outFilterType
string
--outFilterMultimapScoreRange
integer
--outFilterMultimapNmax
integer
--outFilterMismatchNmax
integer
--outFilterMismatchNoverLmax
double
--outFilterMismatchNoverReadLmax
double
--outFilterScoreMin
integer
--outFilterScoreMinOverLread
double
--outFilterMatchNmin
integer
--outFilterMatchNminOverLread
double
--outFilterIntronMotifs
string
--outFilterIntronStrands
string

Output splice junctions (SJ.out.tab)

Name
Type & Properties
--outSJtype
string

Output Filtering: Splice Junctions

Name
Type & Properties
--outSJfilterReads
string
--outSJfilterOverhangMin
integer
multiple
--outSJfilterCountUniqueMin
integer
multiple
--outSJfilterCountTotalMin
integer
multiple
--outSJfilterDistToOtherSJmin
integer
multiple
--outSJfilterIntronMaxVsReadN
integer
multiple

Scoring

Name
Type & Properties
--scoreGap
integer
--scoreGapNoncan
integer
--scoreGapGCAG
integer
--scoreGapATAC
integer
--scoreGenomicLengthLog2scale
integer
--scoreDelOpen
integer
--scoreDelBase
integer
--scoreInsOpen
integer
--scoreInsBase
integer
--scoreStitchSJshift
integer

Alignments and Seeding

Name
Type & Properties
--seedSearchStartLmax
integer
--seedSearchStartLmaxOverLread
double
--seedSearchLmax
integer
--seedMultimapNmax
integer
--seedPerReadNmax
integer
--seedPerWindowNmax
integer
--seedNoneLociPerWindow
integer
--seedSplitMin
integer
--seedMapMin
integer
--alignIntronMin
integer
--alignIntronMax
integer
--alignMatesGapMax
integer
--alignSJoverhangMin
integer
--alignSJstitchMismatchNmax
integer
multiple
--alignSJDBoverhangMin
integer
--alignSplicedMateMapLmin
integer
--alignSplicedMateMapLminOverLmate
double
--alignWindowsPerReadNmax
integer
--alignTranscriptsPerWindowNmax
integer
--alignTranscriptsPerReadNmax
integer
--alignEndsType
string
--alignEndsProtrude
string
--alignSoftClipAtReferenceEnds
string
--alignInsertionFlush
string

Paired-End reads

Name
Type & Properties
--peOverlapNbasesMin
integer
--peOverlapMMp
double

Windows, Anchors, Binning

Name
Type & Properties
--winAnchorMultimapNmax
integer
--winBinNbits
integer
--winAnchorDistNbins
integer
--winFlankNbins
integer
--winReadCoverageRelativeMin
double
--winReadCoverageBasesMin
integer

Chimeric Alignments

Name
Type & Properties
--chimOutType
string
multiple
--chimSegmentMin
integer
--chimScoreMin
integer
--chimScoreDropMax
integer
--chimScoreSeparation
integer
--chimScoreJunctionNonGTAG
integer
--chimJunctionOverhangMin
integer
--chimSegmentReadGapMax
integer
--chimFilter
string
multiple
--chimMainSegmentMultNmax
integer
--chimMultimapNmax
integer
--chimMultimapScoreRange
integer
--chimNonchimScoreDropMin
integer
--chimOutJunctionFormat
integer

Quantification of Annotations

Name
Type & Properties
--quantMode
string
multiple
--quantTranscriptomeBAMcompression
integer
--quantTranscriptomeSAMoutput
string

2-pass Mapping

Name
Type & Properties
--twopassMode
string
--twopass1readsN
integer

WASP parameters

Name
Type & Properties
--waspOutputMode
string

Inputs

Name
Type & Properties
--input
--readFilesIn
file
required
multiple
--input_r2
file
multiple

Outputs

Name
Type & Properties
--aligned_reads
file
required
output
--reads_per_gene
file
output
--unmapped
file
output
--unmapped_r2
file
output
--chimeric_junctions
file
output
--log
file
output
--splice_junctions
file
output

Collaborate Accelerate Succeed

Empower your organization with secure, scalable workflow solutions that simplify development, ensure compliance, and drive innovation.

Viash Hub is a platform developed by Data Intuitive, a Belgian-based bioinformatics company specializing in data workflow development and deployment.