SUBREAD-ALIGN(1)
π 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 include0: RNA-seq data1: 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,10by 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).3by default-p<int> β Consensus threshold for the non- anchor read in a pair.1by default.-M<int> β Maximum number of mis-matched bases allowed in each reported alignment.3by 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.1by default.
π indel detection π
-I<int> β Maximum length (in bp) of indels that can be detected.5by default. Indels of up to200bplong can be detected. (yes, TWO HUNDRED, she's flexible π )--complexIndelsβ Detect multiple short indels that are in close proximity (they can be as close as1bpapart from each other).
π¦ read trimming π¦
--trim5<int> β Trim off <int> number of bases from 5' end of each read.0by default.--trim3<int> β Trim off <int> number of bases from 3' end of each read.0by default.
π« distance and orientation of paired end reads π«
-d<int> β Minimum fragment/insert length,50bpby default.-D<int> β Maximum fragment/insert length,600bpby 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,1by 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.-1by default.--DPGapExt<int> β Penalty for gap extension in short indel detection.0by default.--DPMismatch<int> β Penalty for mismatches in short indel detection.0by default.--DPMatch<int> β Score for matched bases in short indel detection.2by 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-Foption 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, sochr1andCHR1are 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) π
πΈ
π¦ where this page comes from
- debian trixie: subread 2.0.8+dfsg-1 Β· GPL-3.0-or-later
- ubuntu noble: subread 2.0.6+dfsg-2 Β· GPL-3.0-or-later
- ubuntu questing: subread 2.0.8+dfsg-1
- ubuntu resolute: subread 2.0.8+dfsg-1build1 Β· GPL-3.0-or-later
- ubuntu stonking: subread 2.0.8+dfsg-1build1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms