SUBJUNC(1)
π NAME π
subjunc β bestie, it's a whole toolkit for processing next-gen sequencing data. That's the manual name right there: SUBJUNC(1), and yeah, we're about to get into it. π§¬β¨
π DESCRIPTION π
Okay so first thing, the version, no cap:
Version 2.0.4
Usage, and yes you literally run it like this:
./subjunc [options] -i <index_name> -r <input> -o <output>
β¨ Mandatory arguments β¨
These ones you cannot skip, they're the main characters, periodt.
-i<index>β Base name of the index. Just the base name, bestie. π-r<string>β Name of an input read file. Now listen: if you're doing paired-end, this is the first read file (typically the one with"R1"chillin' in the file name) and the second one goes in through-R. Acceptable formats include gzipped FASTQ, FASTQ, gzipped FASTA and FASTA. And the way it just knows which one you gave it β these formats are identified automatically. Iconic. π¦
πΈ Optional arguments: input reads and output πΈ
-o<string>β Name of an output file. By default the output is in BAM format. And if you just... omit this option entirely? The output gets written to STDOUT. Surprise, bestie. π-R<string>β Name of the second read file in paired-end data (typically the one with"R2"in 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'is for phred+33 and'6'is for phred+64. And'3'is the default, so you don't even gotta say anything.
β thresholds for mapping β
-n<int>β Number of selected subreads, 14 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 (the anchor read receives more votes than the other read in the same pair). 1 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. And lowkey important: mis-matched bases found in softclipped bases are not counted. π
π unique mapping and multi-mapping π
--multiMappingβ Report multi-mapping reads in addition to uniquely mapped reads. Use-Bto 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. But the range though β indels of up to 200bp long can be detected. Ate. π--complexIndelsβ Detect multiple short indels that are in close proximity (they can be as close as 1bp apart from each other). It's giving detail-oriented.
π read trimming π
--trim5<int>β Trim off<int>number of bases from the 5' end of each read. 0 by default.--trim3<int>β Trim off<int>number of bases from the 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 the order of reads in BAM output the same as that in the input file. And heads up bestie: reads from the same pair are always placed next to each other no matter whether this option is specified or not. So this one's just about the rest of 'em.--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. Obsessed, honestly. π«Ά
π color space reads π
-bβ Convert color-space read bases to base-space read bases in the mapping output. But note, and this is the sneaky part: 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 all junctions including gene fusions π
--allJunctionsβ Detect exon-exon junctions (both canonical and non-canonical junctions) and structural variants in RNA-seq data. Refer to the Users Guide for reporting of junctions and fusions. β¨
πΈ gene annotation πΈ
-aβ Name of an annotation file (a gzipped file is accepted). GTF/GFF format by default. See the-Foption for more format information.-Fβ Specify the 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 the Users Guide.-Aβ Provide a chromosome name alias file to match chr names in the annotation with those in the reads. This should be a two-column 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. And no column header should be included in the file, okay? None. π--gtfFeature<string>β Specify feature type in GTF annotation.'exon'by default. Features used for read counting will be extracted from the 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 the annotation using the provided value.
β others β
-vβ Output version of the program.
Refer to the Users Manual for a detailed description of 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. Slay, honestly. π«Ά
okay bestie that's the whole page, we did it π β¨ β and just so you know where all this came from: it's subjunc 2.0.3, dated March 2023, straight outta SUBJUNC(1). mwah π
π¦ 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