CREATE_MATRIX(1)
π CREATE_MATRIX(1) π
okay bestie, gather round, because we're diving into create_matrix from the User Commands manual, and honestly? it's giving genome-science main character energy. β¨
πΈ NAME πΈ
create_matrix β calculate the genome abundance similarity matrix π§¬π
π¦ SYNOPSIS π¦
create_matrix [options] NAMES
β¨ DESCRIPTION β¨
So like, the whole point of this icon is: calculate the similarity matrix. That's the assignment, and it ate. π
But the way it gets there is a three-step glow-up, and you need to know all three, fr fr:
- First, a set of reads is simulated for every reference genome, using a read simulator from
core/tools.pyβ you pick which one with-s. π - Second, the simulated reads of each species get mapped against all reference genomes, using the mapper you specified with
-m. π - Third, the resulting SAM-files get analyzed to calculate the similarity matrix.
And where does that gorgeous matrix live? It gets stored as a numpy file β that's what -o is for. π«Ά
π OPTIONS π
NAMESβ the filename of the names file, bestie. It's a plain text file and it should contain one name per line. That name is used as the identifier in the whole algorithm, so it's lowkey important. π·οΈ-h,--helpβ show this help message and exit. the classic. the legend. π-s SIMULATOR,--simulator=SIMULATORβ the identifier of the read simulator, as defined incore/tools.py. [default:none] β-r REF,--reference=REFβ reference sequence file pattern for the read simulator. the placeholder for the name is"%s". [default:./ref/%s.fasta] π-m MAPPER,--mapper=MAPPERβ the identifier of the mapper, as defined incore/tools.py. [default:none] π₯-i INDEX,--index=INDEXβ reference index files for the read mapper. placeholder for the name is"%s". [default:./ref/%s.fasta] π§-t TEMP,--temp=TEMPβ directory to store temporary simulated datasets and SAM files. [default:./temp] πΈ-o OUT,--output=OUTβ output similarity matrix file. [default:./similarity_matrix.npy] π
π«Ά friendly reminder: those"%s"placeholders in-rand-iare literal β keep them exactly as they are, no cap. and yeah,-sand-mboth default tonone, so you're gonna wanna set those unless you enjoy chaos. π
and that's the whole page, bestie β this was create_matrix SVNr18, dated February 2014. iconic behavior, honestly. now go build that matrix. πβ¨π
π¦ where this page comes from
- debian bookworm: gasic 0.0.r19-8 Β· BSDlike
- debian trixie: gasic 0.0.r19-8 Β· BSDlike
- ubuntu jammy: gasic 0.0.r19-7 Β· BSDlike
- ubuntu noble: gasic 0.0.r19-8 Β· BSDlike
- ubuntu questing: gasic 0.0.r19-8
- ubuntu resolute: gasic 0.0.r19-8build1 Β· BSDlike
- ubuntu stonking: gasic 0.0.r19-8build1 Β· BSDlike
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms