SUBREAD-ALIGN(1)

πŸ“¦
version 2.0.8 Β· 2 versions
, in debian trixie, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– SUBREAD-ALIGN πŸ’–

okay bestie, welcome to subread-align(1) β€” the manual page for the subread-align toolkit for processing next-gen sequencing data. yes that's the manual name, it lives here now, we're keeping it. sit down, grab a boba, we're aligning reads. 🧚✨


🌸 NAME 🌸

subread-align β€” toolkit for processing next-gen sequencing data πŸ¦‹


✨ DESCRIPTION ✨

Version 2.0.4 πŸ’…

Usage:

./subread-align [options] -i <index_name> -r <input> -t <type> -o
<output>

πŸ”’ Mandatory arguments πŸ”’

these are not optional, babe. you NEED them. no cap.

  • -i <string> β€” Base name of the index. this is the index, the whole index, and nothing but the index πŸ’«
  • -r <string> β€” Name of an input read file. If paired-end, this should be the first read file (typically containing "R1"in the file name) and the second should be provided via -R. Acceptable formats include gzipped FASTQ, FASTQ, gzipped FASTA and FASTA. These formats are identified automatically. so you literally don't have to tell it which one it is, it just knows πŸ‘‘
  • -t <int> β€” Type of input sequencing data. Its values include 0: RNA-seq data 1: genomic DNA-seq data.

πŸŽ€ Optional arguments: input reads and output πŸŽ€

the glow-up section. this is where you customize πŸ’…

  • -o <string> β€” Name of an output file. By default, the output is in BAM format. Omitting this option makes the output be written to STDOUT. (yes, straight to your terminal, main character energy, no file needed ✨)
  • -R <string> β€” Name of the second read file in paired-end data (typically containing "R2" the file name).
  • --SAMinput β€” Input reads are in SAM format.
  • --BAMinput β€” Input reads are in BAM format.
  • --SAMoutput β€” Save mapping results in SAM format.

πŸ’œ Phred offset πŸ’œ

  • -P <3:6> β€” Offset value added to the Phred quality score of each read base. '3' for phred+33 and '6' for phred+64. '3' by default.

πŸ”₯ thresholds for mapping πŸ”₯

  • -n <int> β€” Number of selected subreads, 10 by default.
  • -m <int> β€” Consensus threshold for reporting a hit (minimal number of subreads that map in consensus) . If paired-end, this gives the consensus threshold for the anchor read (anchor read receives more votes than the other read in the same pair). 3 by default
  • -p <int> β€” Consensus threshold for the non- anchor read in a pair. 1 by default.
  • -M <int> β€” Maximum number of mis-matched bases allowed in each reported alignment. 3 by default. Mis-matched bases found in softclipped bases are not counted. (so softclips get a free pass, iconic behaviour honestly)

🌈 unique mapping and multi-mapping 🌈

  • --multiMapping β€” Report multi-mapping reads in addition to uniquely mapped reads. Use "-B" to set the maximum number of equally-best alignments to be reported.
  • -B <int> β€” Maximum number of equally-best alignments to be reported for a multi-mapping read. Equally-best alignments have the same number of mis-matched bases. 1 by default.

πŸ“ indel detection πŸ“

  • -I <int> β€” Maximum length (in bp) of indels that can be detected. 5 by default. Indels of up to 200bp long can be detected. (yes, TWO HUNDRED, she's flexible πŸ’…)
  • --complexIndels β€” Detect multiple short indels that are in close proximity (they can be as close as 1bp apart from each other).

πŸ¦‹ read trimming πŸ¦‹

  • --trim5 <int> β€” Trim off <int> number of bases from 5' end of each read. 0 by default.
  • --trim3 <int> β€” Trim off <int> number of bases from 3' end of each read. 0 by default.

πŸ’« distance and orientation of paired end reads πŸ’«

  • -d <int> β€” Minimum fragment/insert length, 50bp by default.
  • -D <int> β€” Maximum fragment/insert length, 600bp by default.
  • -S <ff:fr:rf> β€” Orientation of first and second reads, 'fr' by default ( forward/reverse).

πŸ‘‘ number of CPU threads πŸ‘‘

  • -T <int> β€” Number of CPU threads used, 1 by default.

🌸 read group 🌸

  • --rg-id <string> β€” Add read group ID to the output.
  • --rg <string> β€” Add <tag:value> to the read group (RG) header in the output.

✨ read order ✨

  • --keepReadOrder β€” Keep order of reads in BAM output the same as that in the input file. Reads from the same pair are always placed next to each other no matter this option is specified or not. (they're clingy like that, it's cute 🫢)
  • --sortReadsByCoordinates β€” Output location-sorted reads. This option is applicable for BAM output only. A BAI index file is also generated for each BAM file so the BAM files can be directly loaded into a genome browser. (so convenient, we love a two-for-one πŸ’–)

πŸŽ€ color space reads πŸŽ€

  • -b β€” Convert color-space read bases to base-space read bases in the mapping output. Note that read mapping is performed at color-space.

πŸ’€ dynamic programming πŸ’€

  • --DPGapOpen <int> β€” Penalty for gap opening in short indel detection. -1 by default.
  • --DPGapExt <int> β€” Penalty for gap extension in short indel detection. 0 by default.
  • --DPMismatch <int> β€” Penalty for mismatches in short indel detection. 0 by default.
  • --DPMatch <int> β€” Score for matched bases in short indel detection. 2 by default.

πŸ”₯ detect structural variants πŸ”₯

  • --sv β€” Detect structural variants (eg. long indel, inversion, duplication and translocation) and report breakpoints. Refer to Users Guide for breakpoint reporting. (big structural drama detected, periodt)

🌺 gene annotation 🌺

  • -a β€” Name of an annotation file (gzipped file is accepted). GTF/GFF format by default. See -F option for more format information.
  • -F β€” Specify format of the provided annotation file. Acceptable formats include 'GTF' (or compatible GFF format) and 'SAF'. 'GTF' by default. For SAF format, please refer to Users Guide.
  • -A β€” Provide a chromosome name alias file to match chr names in annotation with those in the reads. This should be a twocolumn comma-delimited text file. Its first column should include chr names in the annotation and its second column should include chr names in the index. Chr names are case sensitive. No column header should be included in the file. (case sensitive, so chr1 and CHR1 are NOT the same girl, don't play πŸ™ˆ)
  • --gtfFeature <string> β€” Specify feature type in GTF annotation. 'exon' by default. Features used for read counting will be extracted from annotation using the provided value.
  • --gtfAttr <string> β€” Specify attribute type in GTF annotation. 'gene_id' by default. Meta-features used for read counting will be extracted from annotation using the provided value.

⭐ others ⭐

  • -v β€” Output version of the program.

Refer to Users Manual for detailed description to the arguments.


🫢 AUTHOR 🫢

This manpage was written by Alexandre Mestiashvili for the Debian distribution and can be used for any other usage of the program. (we stan, ty for the lore πŸ’–)


and that's the whole vibe check bestie β€” go align something iconic. πŸ¦‹βœ¨

signing off: subread-align 2.0.3, March 2023 β€” SUBREAD-ALIGN(1) πŸ’…πŸŒΈ