File: BuildTrees.py.1

package info (click to toggle)
changeo 1.3.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,400 kB
  • sloc: python: 7,096; sh: 116; makefile: 5
file content (173 lines) | stat: -rw-r--r-- 5,260 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.47.16.
.TH BUILDTREES.PY "1" "October 2020" "BuildTrees.py 1.0.1" "User Commands"
.SH NAME
BuildTrees.py \- Repertoire clonal assignment toolkit (Python 3)
.SH DESCRIPTION
\fI\,/usr/bin/BuildTrees\/\fP.py:488: SyntaxWarning: "is" with a literal. Did you mean "=="?
.IP
if germline is "":
.PP
\fI\,/usr/bin/BuildTrees\/\fP.py:543: SyntaxWarning: "is" with a literal. Did you mean "=="?
.IP
if ngermline is "":
.PP
\fI\,/usr/bin/BuildTrees\/\fP.py:801: SyntaxWarning: "is not" with a literal. Did you mean "!="?
.IP
if regions["cdr3_imgt"] is not "" and regions["cdr3_imgt"] is not None:
.PP
\fI\,/usr/bin/BuildTrees\/\fP.py:827: SyntaxWarning: "is not" with a literal. Did you mean "!="?
.IP
elif regions["fwr3_imgt"] is not "" and regions["fwr3_imgt"] is not None:
.PP
usage: BuildTrees.py [\-\-version] [\-h] \fB\-d\fR DB_FILES [DB_FILES ...]
.TP
[\-\-outdir OUT_DIR] [\-\-outname OUT_NAME] [\-\-log LOG_FILE]
[\-\-failed] [\-\-format {airr,changeo}] [\-\-collapse]
[\-\-ncdr3] [\-\-nmask] [\-\-md META_DATA [META_DATA ...]]
[\-\-clones TARGET_CLONES [TARGET_CLONES ...]]
[\-\-minseq MIN_SEQ] [\-\-sample SAMPLE_DEPTH]
[\-\-append APPEND [APPEND ...]] [\-\-igphyml]
[\-\-nproc NPROC] [\-\-clean {none,all}]
[\-\-optimize {n,r,l,lr,tl,tlr}]
[\-\-omega {e,ce,e,e,ce,e,e,ce,ce,ce}] [\-t {e,ce}]
[\-\-motifs MOTIFS] [\-\-hotness HOTNESS]
[\-\-oformat {tab,txt}] [\-\-nohlp] [\-\-asr ASR]
.PP
Converts TSV files into IgPhyML input files
.SS "help:"
.TP
\fB\-\-version\fR
show program's version number and exit
.TP
\fB\-h\fR, \fB\-\-help\fR
show this help message and exit
.SS "standard arguments:"
.TP
\fB\-d\fR DB_FILES [DB_FILES ...]
A list of tab delimited database files. (default:
None)
.TP
\fB\-\-outdir\fR OUT_DIR
Specify to changes the output directory to the
location specified. The input file directory is used
if this is not specified. (default: None)
.TP
\fB\-\-outname\fR OUT_NAME
Changes the prefix of the successfully processed
output file to the string specified. May not be
specified with multiple input files. (default: None)
.TP
\fB\-\-log\fR LOG_FILE
Specify to write verbose logging to a file. May not be
specified with multiple input files. (default: None)
.TP
\fB\-\-failed\fR
If specified create files containing records that fail
processing. (default: False)
.TP
\fB\-\-format\fR {airr,changeo}
Specify input and output format. (default: airr)
.SS "sequence processing arguments:"
.TP
\fB\-\-collapse\fR
If specified, collapse identical sequences before
exporting to fasta. (default: False)
.TP
\fB\-\-ncdr3\fR
If specified, remove CDR3 from all sequences.
(default: False)
.TP
\fB\-\-nmask\fR
If specified, do not attempt to mask split codons.
(default: False)
.TP
\fB\-\-md\fR META_DATA [META_DATA ...]
List of fields to containing metadata to include in
output fasta file sequence headers. (default: None)
.TP
\fB\-\-clones\fR TARGET_CLONES [TARGET_CLONES ...]
List of clone IDs to output, if specified. (default:
None)
.TP
\fB\-\-minseq\fR MIN_SEQ
Minimum number of data sequences. Any clones with
fewer than the specified number of sequences will be
excluded. (default: 1)
.TP
\fB\-\-sample\fR SAMPLE_DEPTH
Depth of reads to be subsampled (before
deduplication). (default: \fB\-1\fR)
.TP
\fB\-\-append\fR APPEND [APPEND ...]
List of columns to append to sequence ID to ensure
uniqueness. (default: None)
.SS "IgPhyML arguments (see igphyml -h for details):"
.TP
\fB\-\-igphyml\fR
Run IgPhyML on output? (default: False)
.TP
\fB\-\-nproc\fR NPROC
Number of threads to parallelize IgPhyML across.
(default: 1)
.TP
\fB\-\-clean\fR {none,all}
Delete intermediate files? none: leave all
intermediate files; all: delete all intermediate
files. (default: none)
.TP
\fB\-\-optimize\fR {n,r,l,lr,tl,tlr}
Optimize combination of topology (t) branch lengths
(l) and parameters (r), or nothing (n), for IgPhyML.
(default: lr)
.TP
\fB\-\-omega\fR {e,ce,e,e,ce,e,e,ce,ce,ce}
Omega parameters to estimate for FWR,CDR respectively:
e = estimate, ce = estimate + confidence interval
(default: e,e)
.TP
\fB\-t\fR {e,ce}
Kappa parameters to estimate: e = estimate, ce =
estimate + confidence interval (default: e)
.TP
\fB\-\-motifs\fR MOTIFS
Which motifs to estimate mutability. (default:
WRC_2:0,GYW_0:1,WA_1:2,TW_0:3,SYC_2:4,GRS_0:5)
.TP
\fB\-\-hotness\fR HOTNESS
Mutability parameters to estimate: e = estimate, ce =
estimate + confidence interval (default: e,e,e,e,e,e)
.TP
\fB\-\-oformat\fR {tab,txt}
IgPhyML output format. (default: tab)
.TP
\fB\-\-nohlp\fR
Don't run HLP model? (default: False)
.TP
\fB\-\-asr\fR ASR
Ancestral sequence reconstruction interval (0\-1).
(default: \fB\-1\fR)
.SS "output files:"
.IP
<folder>
.IP
folder containing fasta and partition files for each clone.
.IP
lineages
.IP
successfully processed records.
.IP
lineages\-fail
.IP
database records failed processing.
.IP
igphyml\-pass
.IP
parameter estimates and lineage trees from running IgPhyML, if specified
.SS "required fields:"
.IP
sequence_id, sequence, sequence_alignment,
germline_alignment_d_mask or germline_alignment,
v_call, j_call, clone_id, v_sequence_start
.SH AUTHOR
 This manpage was written by Nilesh Patra for the Debian distribution and
 can be used for any other usage of the program.