| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 7 | 2 | 3 | 0.972 | compound_stmt |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 7 | 30 | Bio/SeqIO/_convert.py |
| 2 | 7 | 38 | Bio/SeqIO/_convert.py |
| ||||
#NOTE - Lots of lazy imports further on...
def _genbank_convert_fasta(in_handle,out_handle,alphabet = None):
"Fast GenBank to FASTA (PRIVATE)."
#We don't need to parse the features...
from Bio.GenBank.Scanner import GenBankScanner
records = GenBankScanner( ).parse_records(in_handle,do_features = False)
#For FASTA output we can ignore the alphabet too
return SeqIO.write(records,out_handle,"fasta")
|
| ||||
def _embl_convert_fasta(in_handle,out_handle,alphabet = None):
"Fast EMBL to FASTA (PRIVATE)."
#We don't need to parse the features...
from Bio.GenBank.Scanner import EmblScanner
records = EmblScanner( ).parse_records(in_handle,do_features = False)
#For FASTA output we can ignore the alphabet too
return SeqIO.write(records,out_handle,"fasta")
|
| |||
#NOTE - Lots of lazy imports further on... def [[#variable78125160]](in_handle,out_handle,alphabet = None): [[#variable78125100]] #We don't need to parse the features... from Bio.GenBank.Scanner import [[#variable781250a0]] records = [[#variable781250a0]]( ).parse_records(in_handle,do_features = False) #For FASTA output we can ignore the alphabet too return SeqIO.write(records,out_handle,"fasta") |
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#78125160]] | _embl_convert_fasta |
| 1 | 2 | [[#78125160]] | _genbank_convert_fasta |
| 2 | 1 | [[#78125100]] | "Fast EMBL to FASTA (PRIVATE)." |
| 2 | 2 | [[#78125100]] | "Fast GenBank to FASTA (PRIVATE)." |
| 3 | 1 | [[#781250a0]] | EmblScanner |
| 3 | 2 | [[#781250a0]] | GenBankScanner |