forked from biopython/biopython
-
Notifications
You must be signed in to change notification settings - Fork 1
/
DEPRECATED
501 lines (412 loc) · 19 KB
/
DEPRECATED
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
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
This file provides documentation for modules in Biopython that have been moved
or deprecated in favor of other modules. This provides some quick and easy
to find documentation about how to update your code to work again.
Python 2.3
==========
No longer supported as of Release 1.51, having triggered a warning with
Release 1.50, with a mention in the release notes for Release 1.49.
Python 2.4
==========
No longer supported as of Release 1.59, having triggered a warning since
Release 1.55, with advance notice in the release notes for Release 1.54.
Bio.Pathway.Rep.HashSet
=======================
Deprecated in Release 1.59, use Python's built in set module.
Bio.SeqFeature.WithinPosition and OneOfPosition
===============================================
The arguments to create these fuzzy positions changed in Release 1.59.
Bio.Encodings
=============
Explicitly declared obsolete in Release 1.55, deprecated in Release 1.56, and
removed in Release 1.57.
Bio.PropertyManager
===================
Explicitly declared obsolete in Release 1.55, deprecated in Release 1.56, and
removed in Release 1.57.
Bio.InterPro
============
This module was a parser for the EBI InterPro webpages, but no longer worked
with their current website. Deprecated in Release 1.55, and removed in
Release 1.58.
Bio.GenBank.LocationParser
==========================
This module used to be used for parsing GenBank and EMBL feature locations.
It has been replaced with faster code using regular expressions, and is no
longer needed. Declared obsolete in Release 1.55, deprecated in Release 1.56,
and removed in Release 1.59.
Bio.Parsers and Bio.Parsers.spark
=================================
This module was a copy of John Aycock's SPARK parser included with Biopython
soley for use in Bio.GenBank.LocationParser. Declared obsolete in Release
1.55, deprecated in Release 1.56, and removed in Release 1.59.
Bio.Restriction.DNAUtils and check_bases
========================================
This module (originally in C) offered complement and antiparallel functions
(duplicating functionality in Bio.Seq) and a rather odd function called
check_bases (also available as Bio.Restriction.Restriction.check_bases).
Deprecated in Release 1.53, removed in Release 1.57.
Bio.Blast.NCBIStandalone
========================
The three functions for calling the "legacy" NCBI BLAST command line tools
blastall, blastpgp and rpsblast were declared obsolete in Biopython Release
1.53, please use the BLAST+ wrappers in Bio.Blast.Applications instead.
The remainder of this module is a parser for the plain text BLAST output,
which was declared obsolete in Release 1.54. For some time now, both the NCBI
and Biopython have encouraged people to parse the XML output instead.
Bio.Blast.Applications
======================
NCBI "legacy" BLAST tool wrappers FastacmdCommandline, BlastallCommandline,
BlastpgpCommandline and RpsBlastCommandline were declared obsolete in Release
1.53, having been replaced with wrappers for the new NCBI BLAST+ tools (e.g.
NcbiblastpCommandline and NcbipsiblastCommandline).
Bio.Clustalw
============
Declared obsolete in Release 1.52, deprecated in Release 1.55 final, and
removed in Release 1.58. Replaced with Bio.AlignIO for parsing and writing
clustal format alignments (since Release 1.46), and Bio.Align.Applications
for calling the ClustalW command line tool (since Release 1.51). See the
Tutorial for examples.
BioSQL and psycopg
==================
Support for psycopg (version one) in Biopython's BioSQL code was deprecated
in Release 1.51, and removed in Release 1.55. Please use psycopg2 instead.
Bio.Application.generic_run and ApplicationResult
=================================================
Declared obsolete in Release 1.51, deprecated in Release 1.53, and removed in
Release 1.57. Please use the Python subprocess module instead, or as of
Release 1.55 the application wrappers can be used directly to execute the
command.
Bio.Entrez.efetch and rettype="genbank"
=======================================
As of Easter 2009, the NCBI have stopped supporting the unofficial return type
of "genbank" in EFetch. Instead we should be using "gb" (GenBank) or "gp"
(GenPept). As of Biopython 1.50, Bio.Entrez.efetch will correct this
automatically, but issues a deprecation warning. The code to check and correct
for "genbank" was removed in Biopython 1.55 final.
Bio.Entrez.query function
=========================
Deprecated in Release 1.47, removed in Release 1.52.
Bio.SwissProt.SProt
===================
Declared obsolete in Release 1.50, deprecated in Release 1.51, and removed in
Release 1.56. Most of the functionality in Bio.SwissProt.SProt is available
from Bio.SwissProt.
Bio.Prosite and Bio.Enzyme
==========================
Declared obsolete in Release 1.50, deprecated in Release 1.53, and removed in
Release 1.57. Most of the functionality has moved to Bio.ExPASy.Prosite and
Bio.ExPASy.Enzyme, respectively.
Bio.EZRetrieve, Bio.NetCatch, Bio.FilteredReader
================================================
Declared obsolete in Release 1.50, deprecated in Release 1.52, and removed in
Release 1.56.
Bio.File
========
Bio.File.SGMLHandle was declared obsolete in Release 1.50, deprecated in
Release 1.52, and removed in Release 1.56. Bio.File.SGMLStripper was deprecated
in Release 1.57. Bio.File.StringHandle was deprecated in Release 1.59.
Bio.Graphics.GenomeDiagram and colour/color, centre/center
==========================================================
GenomeDiagram originally used colour and centre (UK spelling of color and
center) for argument names. As part of its integration into Biopython 1.50,
this will support both colour and color, and both centre and center, to help
people port existing scripts written for the standalone version of
GenomeDiagram. However, these were deprecated in Release 1.55 final, and we
intend to eventually remove support for colour and centre in later releases
of Biopython.
Bio.AlignAce and Bio.MEME
=========================
Declared obsolete in Release 1.50, deprecated in Release 1.52, and removed
in Release 1.56. Please use Bio.Motif instead.
Numeric support
===============
Following the Release of 1.48, Numeric support in Biopython is discontinued.
Please move to NumPy for Biopython 1.49 or later.
Bio.Seq and the data property
=============================
Direct use of the Seq object (and MutableSeq object) .data property is
deprecated. As of Release 1.49, writing to the Seq object's .data property
triggered a warning, and this property was made read only in Release 1.53. In
Release 1.55 final, accessing the .data property gives a DeprecationWarning.
Bio.Transcribe and Bio.Translate
================================
Declared obsolete in Release 1.49, deprecated in Release 1.51, and removed
in Release 1.57. Please use the methods or functions in Bio.Seq instead.
Bio.mathfns, Bio.stringfns and Bio.listfns (and their C code variants)
==========================================
Declared obsolete in Release 1.49. Bio.mathfns and Bio.stringfns were
deprecated in Release 1.50, Bio.listfns was deprecated in Release 1.53.
The three C implementations were all removed in Release 1.53. Bio.mathfns
and Bio.stringfns were removed in Release 1.55. Bio.listfns was removed in
Release 1.57.
Bio.distance (and Bio.cdistance)
================================
Bio.distance was deprecated in Release 1.49, at which point its C code
implementation Bio.cdistance was removed (this was not intended as a public
API). Removed in Release 1.53.
Bio.Ndb
=======
Deprecated in Release 1.49, as the website this parsed has been redesigned.
Removed in Release 1.53.
Martel
======
Declared obsolete in Release 1.48, deprecated in Release 1.49, and removed
in Release 1.51. The source code for Martel is still in our repository if
anyone wanted to develop this outside of Biopython.
Bio.Mindy and associated modules.
=================================
Declared obsolete in Release 1.48, deprecated in Release 1.49, removed in
Release 1.51. This includes the Bio.Writer, Bio.writers, Bio.builders,
Bio.Std, Bio.StdHandler, Bio.Decode and Bio.DBXRef modules
Bio.Fasta index_file and Dictionary
===================================
Deprecated in Release 1.44, removed in Biopython 1.46. For small to medium
sized files, use Bio.SeqIO.to_dict() to make an in memory dictionary of
SeqRecord objects. Biopython 1.52 onwards provides Bio.SeqIO.index()
which is suitable even for very large files.
Bio.Fasta (including Bio.Fasta.FastaAlign)
==========================================
Declared obsolete in Release 1.48, deprecated in Release 1.51, and removed
in Release 1.55 final. Please use the "fasta" support in Bio.SeqIO or
Bio.AlignIO instead.
Bio.Align.FormatConvert
======================
Declared obsolete in Release 1.48, deprecated in Release 1.51, and
removed in Release 1.55 final. Please use Bio.AlignIO or the Alignment
object's format method instead.
Bio.Emboss.Primer
=================
Deprecated in Release 1.48, and removed in Release 1.51, this parser was
replaced by Bio.Emboss.Primer3 and Bio.Emboss.PrimerSearch instead.
Bio.Emboss.Applications
=======================
The wrappers for the "old" EMBOSS PHYLIP tools (e.g. eneighbor) were declared
obsolete in Biopython 1.52, deprecated in Release 1.55 final, and removed in
release 1.58. please use the wrappers for the "new" EMBOSS PHYLIP tools (e.g.
fneighbor) instead. Specifically, EProtDistCommandline, ENeighborCommandline,
EProtParsCommandline, EConsenseCommandline, and ESeqBootCommandline are
replaced by FProtDistCommandline, FNeighborCommandline, FProtParsCommandline,
FConsenseCommandline, and FSeqBootCommandline, respectively.
Bio.MetaTool
============
Deprecated in Release 1.48, and removed in Release 1.51, this was a parser
for the output of MetaTool 3.5 which is now obsolete.
Bio.GenBank
===========
The online functionality (search_for, download_many, and NCBIDictionary) was
declared obsolete in Release 1.48, deprecated in Release 1.50, and removed
in Release 1.54. Please use Bio.Entrez instead.
Bio.PubMed
==========
Declared obsolete in Release 1.48, deprecated in Release 1.49, and
removed in Release 1.53. Please use Bio.Entrez instead.
Bio.EUtils
==========
Deprecated in favor of Bio.Entrez in Release 1.48, removed in Release 1.52.
Bio.Sequencing & Bio.Medline
============================
A revised API was added and the old one deprecated in Release 1.48,
and removed in Biopython 1.52:
Bio.Sequencing.Ace.RecordParser --> Bio.Sequencing.Ace.read(handle)
Bio.Sequencing.Ace.Iterator --> Bio.Sequencing.Ace.parse(handle)
Bio.Sequencing.Phd.RecordParser --> Bio.Sequencing.Phd.read(handle)
Bio.Sequencing.Phd.Iterator --> Bio.Sequencing.Phd.parse(handle)
Bio.Medline.RecordParser --> Bio.Medline.read(handle)
Bio.Medline.Iterator --> Bio.Medline.parse(handle)
Bio.Blast.NCBIWWW
=================
The HTML BLAST parser was deprecated in Release 1.48, and removed in 1.52.
The deprecated functions blast and blasturl were removed in Release 1.44.
Bio.Saf
=======
Deprecated as of Release 1.48, removed in Release 1.51. If useful, a parser
for this "simple alignment format" could be developed for Bio.AlignIO instead.
Bio.NBRF
========
Deprecated as of Release 1.48 in favor of the "pir" format in Bio.SeqIO,
removed in Release 1.51.
Bio.IntelliGenetics
===================
Deprecated as of Release 1.48 in favor of the "ig" format in Bio.SeqIO,
removed in Release 1.51.
Bio.SeqIO submodules PhylipIO, ClustalIO, NexusIO and StockholmIO
=================================================================
You can still use the "phylip", "clustal", "nexus" and "stockholm" formats
in Bio.SeqIO, however these are now supported via Bio.AlignIO, with the
old code deprecated in Releases 1.46 or 1.47, and removed in Release 1.49.
Bio.SeqIO.to_alignment()
========================
This function was made obsolete with the introduction of Bio.AlignIO,
deprecated in Release 1.54, and removed in Release 1.58. Use either the
Bio.AlignIO functions, or the Bio.Align.MultipleSeqAlignment class
directly instead.
Bio.ECell
=========
Deprecated as of Release 1.47, as it appears to have no users, and the code
does not seem relevant for ECell 3. Removed in Release 1.49.
Bio.Ais
=======
Deprecated as of Release 1.45, removed in Release 1.49.
Bio.LocusLink
=============
Deprecated as of Release 1.45, removed in Release 1.49.
The NCBI's LocusLink was superseded by Entrez Gene.
Bio.SGMLExtractor
=================
Deprecated as of Release 1.46, removed in Release 1.49.
Bio.Rebase
==========
Deprecated as of Release 1.46, removed in Release 1.49.
Bio.Gobase
==========
Deprecated as of Release 1.46, removed in Release 1.49.
Bio.CDD
=======
Deprecated as of Release 1.46, removed in Release 1.49.
Bio.biblio
==========
Deprecated as of Release 1.45, removed in Release 1.48
Bio.WWW
=======
The modules under Bio.WWW were deprecated in Release 1.45, and removed in
Release 1.48. The remaining stub Bio.WWW was deprecated in Release 1.48,
and removed in Release 1.53.
The functionality in Bio.WWW.SCOP, Bio.WWW.InterPro, Bio.WWW.ExPASy and
Bio.WWW.NCBI is now available from Bio.SCOP, Bio.InterPro, Bio.ExPASy and
Bio.Entrez instead.
Bio.SeqIO
=========
The old Bio.SeqIO.FASTA and Bio.SeqIO.generic were deprecated in favour of
the new Bio.SeqIO module as of Release 1.44, removed in Release 1.47.
Bio.Medline.NLMMedlineXML
=========================
Deprecated in Release 1.44, removed in 1.46.
Bio.MultiProc
=============
Deprecated in Release 1.44, removed in 1.46.
Bio.MarkupEditor
================
Deprecated in Release 1.44, removed in 1.46.
Bio.lcc
=======
Deprecated in favor of Bio.SeqUtils.lcc in Release 1.44, removed in 1.46.
Bio.crc
=======
Deprecated in favor of Bio.SeqUtils.CheckSum in Release 1.44, removed in 1.46.
Bio.FormatIO
============
This was removed in Release 1.44 (a deprecation was not possible).
Bio.expressions, Bio.config, Bio.dbdefs, Bio.formatdefs and Bio.dbdefs
======================================================================
These were deprecated in Release 1.44, and removed in Release 1.49.
Bio.Kabat
=========
This was deprecated in Release 1.43 and removed in Release 1.44.
Bio.SeqUtils
============
Functions 'complement' and 'antiparallel' in Bio.SeqUtils were deprecated
in Release 1.31, and removed in Release 1.43. Function 'translate' was
deprecated in Release 1.49, and removed in Release 1.53. Use the functions
and methods in Bio.Seq instead.
Function makeTableX and classes ProteinX and MissingTable were deprecated
in Release 1.54, and removed in Release 1.58. These were remnants of the
removed translate function, and no longer served any useful purpose.
Function 'reverse' in Bio.SeqUtils was deprecated in Release 1.54, and
removed in Release 1.58. Instead just use the string's slice method with
a step of minus one.
Funtions GC_Frame, fasta_uniqids, apply_on_multi_fasta, and
quicker_apply_on_multi_fasta were deprecated in Release 1.55, and removed
in Release 1.58.
Bio.GFF (for accessing a MySQL database created with BioPerl, etc)
=======
The functions 'forward_complement' and 'antiparallel' in Bio.GFF.easy have
been deprecated as of Release 1.31, and removed in Release 1.43.
Use the functions 'complement' and 'reverse_complement' in Bio.Seq instead.
The whole of the old Bio.GFF module was deprecated in Release 1.53, and removed
in Release 1.57 (with the intention of reusing this name space for a GFF
parser).
Bio.sequtils
============
Deprecated as of Release 1.30, removed in Release 1.42.
Use Bio.SeqUtils instead.
Bio.SVM
=======
Deprecated as of Release 1.30, removed in Release 1.42.
The Support Vector Machine code in Biopython has been superceeded by a
more robust (and maintained) SVM library, which includes a python
interface. We recommend using LIBSVM:
http://www.csie.ntu.edu.tw/~cjlin/libsvm/
Bio.RecordFile
==============
Deprecated as of Release 1.30, removed in Release 1.42. RecordFile wasn't
completely implemented and duplicates the work of most standard parsers.
Bio.kMeans and Bio.xkMeans
==========================
Deprecated as of Release 1.30, removed in Release 1.42. Instead, please use
the function kcluster in Bio.Cluster which performs k-means or k-medians
clustering.
Bio.InterPro
============
The function pairlist_to_dict was deprecated in Release 1.45, and removed in
Release 1.53.
Bio.SCOP
========
The module Bio.SCOP.FileIndex was deprecated in Release 1.46, and removed in
Release 1.53. The class Parser in Bio.SCOP.Dom was removed in Release 1.55
final. The class Iterator in Bio.SCOP.Dom was removed in Release 1.56.
Bio.utils
=========
Functions 'translate', 'translate_to_stop', 'back_translate', 'transcribe',
and 'back_transcribe' were deprecated in Release 1.49, and removed in Release
1.53. Function 'ungap' was deprecated in Release 1.53. Use Bio.Seq instead.
The whole of Bio.utils was declared obsolete in Release 1.55, deprecated in
Release 1.56, and removed in Release 1.57.
Bio.Motif
=========
CompareAceParser and CompareAceConsumer from Bio.Motif.Parsers.AlignAce were
declared obsolete in Release 1.53, deprecated in Release 1.55 final, and removed
in Release 1.57.
AlignAceConsumer, AlignAceParser, and AlignAceScanner were declared obsolete
in Release 1.53 and deprecated in Release 1.55 final; their functionality is
now available through a read() function in Bio.Motif.Parsers.AlignAce.
MEMEParser, _MEMEScanner, _MEMEConsumer, _MASTConsumer, MASTParser,
_MASTScanner, and MASTRecord were declared obsolete in Release 1.54 and
deprecated in Release 1.55 final; their functionality is now available through
a read() function in Bio.Motif.Parsers.MEME and Bio.Motif.Parsers.MAST,
respectively.
Bio.Compass
===========
The RecordParser and Iterator classes were declared obsolete in Release 1.54,
deprecated in Release 1.55, removed in Release 1.59. Their functionality is
now available through a read() and a parse() function, respectively.
Bio.Affy.CelFile
================
The CelScanner, CelConsumer, CelRecord, and CelParser were declared obsolete
in Release 1.54, deprecated in Release 1.55 and removed in Release 1.59.
Their functionality is now available through a read() function.
Bio.PopGen.FDist
================
The RecordParser, _Scanner, and _RecordConsumer classes were declared obsolete
in Release 1.54, deprecated in Release 1.55, and removed in Release 1.58.
Their functionality is now available through a read() function.
Bio.UniGene
===========
The classes UnigeneSequenceRecord, UnigeneProtsimRecord, UnigeneSTSRecord,
UnigeneRecord, _RecordConsumer, _Scanner, RecordParser, and Iterator in
Bio.UniGene were declared obsolete in Release 1.54, deprecated in Release 1.55,
and removed in Release 1.59. Their functionality is now available through a
read() and a parse() function in Bio.UniGene.
The HTML parser in Bio.UniGene.UniGene was declared obsolete in Release 1.59.
Bio.SubsMat
===========
The methods letter_sum and all_letters_sum were removed from the SeqMat class in
Bio.SubsMat in Release 1.57.
Bio.Align
=========
The methods get_column and add_sequence of the MultipleSeqAlignment class were
deprecated in Release 1.57. The Alignment class in Bio.Align.Generic and its
method get_seq_by_num were deprecated in Release 1.57.
Bio.ParserSupport
=================
Bio.ParserSupport was declared obsolete in Release 1.59.
Bio.ParserSupport.SGMLStrippingConsumer was deprecated in Release 1.59.