DEFINECLONES.PY(1)
π DEFINECLONES.PY(1) π
okay bestie, this is the DEFINECLONES.PY(1) page, and it's giving User Commands energy π
It's all about DefineClones.py, a toolkit for sorting Ig sequences into clones π§¬β¨
β¨ NAME β¨
DefineClones.py is a repertoire clonal assignment toolkit written for Python 3 πΈ
β¨ DESCRIPTION β¨
Here's how you call it π
DefineClones.py [--version] [-h] -d DB_FILES [DB_FILES ...]
[-o OUT_FILES [OUT_FILES ...]] [--outdir OUT_DIR]
[--outname OUT_NAME] [--log LOG_FILE] [--failed] [--format
{airr,changeo}] [--nproc NPROC] [--sf SEQ_FIELD] [--vf V_FIELD]
[--jf J_FIELD] [--gf GROUP_FIELDS [GROUP_FIELDS ...]] [--mode
{allele,gene}] [--act {first,set}] [--model
{ham,aa,hh_s1f,hh_s5f,mk_rs1nf,mk_rs5nf,hs1f_compat,m1n_compat}]
[--dist DISTANCE] [--norm {len,mut,none}] [--sym {avg,min}]
[--link {single,average,complete}] [--maxmiss MAX_MISSING]
The main job here is to assign Ig sequences into clones π¦ It's literally the whole vibe β¨
π help:
--versionβ shows the program's version number and then exits π-h,--helpβ shows the help message and then exits π
π standard arguments:
-d DB_FILES [DB_FILES ...]β a list of tab delimited database files. (default: None) π-o OUT_FILES [OUT_FILES ...]β an explicit output file name. Heads up, this one can't be used with--failed,--outdir, or--outname. If you don't set it, the output filename gets based on the input filename(s). (default: None) π--outdir OUT_DIRβ changes the output directory to the location you pick. If you skip this, the input file directory gets used. (default: None) πΈ--outname OUT_NAMEβ changes the prefix of the successfully processed output file to whatever string you give it. You can't use it with multiple input files. (default: None) β¨--log LOG_FILEβ writes verbose logging to a file. Also can't be used with multiple input files. (default: None) π--failedβ creates files containing the records that fail processing. (default: False) π--format {airr,changeo}β sets the input and output format. (default: airr) π¦--nproc NPROCβ how many simultaneous computational processes run at once (aka how many CPU cores get used). (default: 8) β‘
𧬠cloning arguments:
--sf SEQ_FIELDβ the field used to calculate distance between records. It defaults tojunction(airr) orJUNCTION(changeo). (default: None) π«Ά--vf V_FIELDβ the field holding the germline V segment call. It defaults tov_call(airr) orV_CALL(changeo). (default: None) π--jf J_FIELDβ the field holding the germline J segment call. It defaults toj_call(airr) orJ_CALL(changeo). (default: None) π--gf GROUP_FIELDS [GROUP_FIELDS ...]β extra fields for grouping clones, on top of V, J and junction length. (default: None) π§--mode {allele,gene}β picks whether the initial grouping uses the V(D)J allele or the gene. (default: gene) π--act {first,set}β decides how multiple V(D)J assignments get handled for the initial grouping. The"first"action only uses the first gene listed. The"set"action uses all gene assignments and builds a bigger gene grouping made of any sequences that share an assignment or get linked to another sequence by a common assignment (kinda like single-linkage) π (default: set)--model {ham,aa,hh_s1f,hh_s5f,mk_rs1nf,mk_rs5nf,hs1f_compat,m1n_compat}β picks the substitution model used to calculate distance between sequences. The"ham"model is nucleotide Hamming distance and"aa"is amino acid Hamming distance. The"hh_s1f"and"hh_s5f"models are human specific single nucleotide and 5-mer content models, respectively, from Yaari et al, 2013. The"mk_rs1nf"and"mk_rs5nf"models are mouse specific single nucleotide and 5-mer content models, respectively, from Cui et al, 2016.
β οΈ The"m1n_compat"and"hs1f_compat"models are deprecated π They only exist for backwards compatibility with the"m1n"and"hs1f"models in Change-O v0.3.3 and SHazaM v0.1.4. And both 5-mer models should be considered experimental π
Default for this one is ham.
--dist DISTANCEβ the distance threshold for clonal grouping. (default: 0.0) π--norm {len,mut,none}β how distances get normalized. Pick one ofnone(don't normalize),len(normalize by length), ormut(normalize by the number of mutations between sequences). (default: len) π«--sym {avg,min}β how asymmetric distances get combined. Pickavg(the average of A->B and B->A) ormin(the minimum of A->B and B->A). (default: avg) π¦--link {single,average,complete}β the type of linkage used for hierarchical clustering. (default: single) πΈ--maxmiss MAX_MISSINGβ the max number of non-ACGT characters (gaps or Ns) allowed in the junction sequence before the record gets kicked out of clonal assignment.
π¨ Under single linkage, non-informative positions can create artifactual links between unrelated sequences. Use with caution, bestie!
(default: 0)
π output files:
- clone-pass β a database with assigned clonal group numbers π
- clone-fail β a database with records that failed clonal grouping π
π required fields:
sequence_id,v_call,j_call,junctionπ«Ά
π·οΈ output fields:
clone_idβ¨
β¨ AUTHOR β¨
This manpage was written by Nilesh Patra for the Debian distribution π and it can be used for any other usage of the program. Thank you, Nilesh, you're iconic π
Byeee bestie π¦ this page came from DefineClones.py 1.0.1, dated October 2020, and it's filed under DEFINECLONES.PY(1) π Stay slay, periodt πβ¨
π¦ where this page comes from
- debian bookworm: changeo 1.3.0-1 Β· CC-BY-SA-4.0
- debian trixie: changeo 1.3.0-3 Β· CC-BY-SA-4.0
- ubuntu jammy: changeo 1.2.0-1 Β· CC-BY-SA-4.0
- ubuntu noble: changeo 1.3.0-1 Β· CC-BY-SA-4.0
- ubuntu questing: changeo 1.3.0-3
- ubuntu resolute: changeo 1.3.0-4 Β· CC-BY-SA-4.0
- ubuntu stonking: changeo 1.3.0-4 Β· CC-BY-SA-4.0
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms