GENRANDOMREADS(1)
β¨ NAME β¨
genRandomReads β a whole toolkit for processing next-gen sequencing data, and honestly it's giving main character energy π
π DESCRIPTION π
okay bestie, first things first: if you forget stuff, she WILL yell at you. like literally, these are the exact complaints you might get π
Error: a transcript file must be provide.Error: the output prefix must be provide.Error: the wanted expression levels must be provided.Warning: no read number is specified. Generating one million reads.
(not the grammar being a lil unhinged, but we move π«Ά)
πΈ Usage πΈ
For scanning a FASTA/gz file:
/usr/lib/subread/genRandomReads --summarizeFasta \
--transcriptFasta <file> --outputPrefix <string> [--simpleTranscriptId]
For generating read/pairs:
/usr/lib/subread/genRandomReads --transcriptFasta <file>\
--outputPrefix <string> --expressionLevels <file> [other options]
π The Options, one by one, no skips π
--summarizeFastaβ she only spits out the transcript names and their lengths. that's it, that's the whole job. lowkey iconic.--transcriptFasta <file>β your transcript database, in FASTA/gz format. the source material fr fr.--outputPrefix <string>β the prefix that gets slapped onto the output files. name your babies β¨--totalReads<int>β total read/pairs in the output.--expressionLevels <file>β a two-column table, delimited by<TAB>, holding the TPM values you want. the columns are: TranscriptID and TPM. yes you need both, no you can't skip the tab π--readLen <int>β how long the output reads are. default is100, in case you were wondering.--totalReads <int>β total read/pairs in the output. (yes, she shows up twice in the list, and we respect her for it π)--randSeed <int64>β the seed for generating random numbers. by defaultUNIXTIMEis used as the random seed, so like, time itself is the vibe check.--qualityRefFile <file>β a textual file full of Phred+33 quality strings, used for simulating sequencing errors. the quality strings have to be the same length as the output reads, no cap. if you omit this option, no sequencing errors get simulated at all. simple as.--floorStrategyβ how to deal with round-up errors, and you've got three moods:'FLOOR': generate fewer reads than wanted'RANDOM': randomly assign the margin reads to transcripts'ITERATIVE': hunt down the best M value to get ~N reads
--pairedEndβ generate paired-end reads. two for the price of one, periodt.--insertionLenMean <float>,--insertionLenSigma <float>,--insertionLenMin <int>,--insertionLenMax <int>β the parameters of a truncated normal distribution that decides the insertion lengths of paired-end reads. the default values are: mean=160, sigma=30, min=110, max=400.--simpleTranscriptIdβ truncate transcript names down to the first'|'or space. chop chop βοΈ--truthInReadNamesβ encode the true locations of the reads inside the read names. snitch behaviour, but make it science π§--noActualReadsβ do NOT actually generate reads in the fastq.gz files. all vibes, zero output files, truly a state of mind.
π AUTHOR π
This manpage was written by Alexandre Mestiashvili for the Debian distribution, and it can be used for any other usage of the program. shoutout to them, genuinely π
and that's a wrap bestie!! this was genRandomReads 2.0.3, dated March 2023, so if you're reading this way later... still slay, still the same version number πβ¨ bye ily, go summarize some fasta π¦
π¦ 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