Contents¶
- Manual
- The
Align
andContainer
classes - Computing diversity statistics
- The
stats.ComputeStats
class - Computing statistics
- Structure and group labels
- Missing data
- Linkage disequilibrium statistics
- Using VCF files
- The
- Coalescent simulations
- Integration of external software
- The
- EggLib Reference Manual
- Top level components
- Holding multi-site data
- Holding single-site data
- Representing data with alphabets
- Describing sample structure
- Trees
- Module content documentation
Align
Align.add_label()
Align.add_sample()
Align.add_samples()
Align.alphabet
Align.clear()
Align.column()
Align.consensus()
Align.create()
Align.del_columns()
Align.del_sample()
Align.encode()
Align.extract()
Align.fasta()
Align.filter()
Align.find()
Align.find_motif()
Align.fix_ends()
Align.get()
Align.get_label()
Align.get_name()
Align.get_sample()
Align.get_sequence()
Align.group_mapping()
Align.insert_columns()
Align.intersperse()
Align.is_matrix
Align.iter_sites()
Align.lower()
Align.ls
Align.name_mapping()
Align.names()
Align.nexus()
Align.ns
Align.phylip()
Align.phyml()
Align.random_missing()
Align.remove_duplicates()
Align.rename()
Align.reserve()
Align.reset()
Align.set()
Align.set_label()
Align.set_name()
Align.set_sample()
Align.set_sequence()
Align.slider()
Align.subset()
Align.to_bases()
Align.to_codons()
Align.upper()
Container
Container.add_label()
Container.add_sample()
Container.add_samples()
Container.alphabet
Container.clear()
Container.create()
Container.del_sample()
Container.del_sites()
Container.encode()
Container.equalize()
Container.fasta()
Container.find()
Container.find_motif()
Container.get()
Container.get_label()
Container.get_name()
Container.get_sample()
Container.get_sequence()
Container.group_mapping()
Container.insert_sites()
Container.is_matrix
Container.lower()
Container.ls()
Container.name_mapping()
Container.names()
Container.ns
Container.remove_duplicates()
Container.rename()
Container.reserve()
Container.reset()
Container.set()
Container.set_label()
Container.set_name()
Container.set_sample()
Container.set_sequence()
Container.subset()
Container.to_bases()
Container.to_codons()
Container.upper()
SampleView
SequenceView
LabelView
encode
Site
site_from_align()
site_from_list()
site_from_vcf()
Freq
freq_from_site()
freq_from_list()
freq_from_vcf()
Alphabet
Structure
Structure.as_dict()
Structure.from_dict()
Structure.from_iterable()
Structure.from_labels()
Structure.from_samplesizes()
Structure.get_clusters()
Structure.get_populations()
Structure.get_samples()
Structure.make_auxiliary()
Structure.make_sorted_auxiliary()
Structure.no
Structure.ns
Structure.num_clust
Structure.num_indiv_ingroup
Structure.num_indiv_outgroup
Structure.num_pop
Structure.ploidy
Structure.req_ns
Structure.shuffle()
Structure.subset()
struct_from_labels()
struct_from_samplesizes()
struct_from_iterable()
struct_from_dict()
Tree
Tree.add_node()
Tree.base
Tree.breadth_iter()
Tree.clean_branch_lengths()
Tree.clean_internal_labels()
Tree.collapse()
Tree.copy()
Tree.depth_iter()
Tree.extract()
Tree.find_clade()
Tree.frequency_nodes()
Tree.get_leaf()
Tree.iter_leaves()
Tree.lateralize()
Tree.map_descendants()
Tree.midroot()
Tree.newick()
Tree.num_leaves
Tree.num_nodes
Tree.remove_node()
Tree.root()
Tree.total_length()
Tree.unroot()
Node
- Pre-defined alphabets
- Pseudorandom number generator
- Sequence manipulation tools
ReadingFrame
ReadingFrame.codon_bases()
ReadingFrame.codon_index()
ReadingFrame.codon_position()
ReadingFrame.exon_index()
ReadingFrame.iter_codons()
ReadingFrame.iter_exon_bounds()
ReadingFrame.num_codons
ReadingFrame.num_exon_bases
ReadingFrame.num_exons
ReadingFrame.num_needed_bases
ReadingFrame.num_tot_bases
ReadingFrame.process()
to_codons()
to_bases()
concat()
ungap()
ungap_all()
rc()
compare()
regex()
motif_iter()
translate()
Translator
orf_iter()
longest_orf()
backalign()
BackalignError
trailing_stops()
iter_stops()
has_stop()
- Import/export utilities
to_ms()
from_fasta()
from_fasta_string()
fasta_iter
from_genepop()
GFF3
Gff3Feature
index_vcf()
VCF
VCF.get_alleles()
VCF.get_alternate()
VCF.get_chrom()
VCF.get_errors()
VCF.get_filter()
VCF.get_format()
VCF.get_formats()
VCF.get_genotypes()
VCF.get_id()
VCF.get_info()
VCF.get_infos()
VCF.get_phased()
VCF.get_pos()
VCF.get_quality()
VCF.get_reference()
VCF.get_sample()
VCF.get_samples()
VCF.get_types()
VCF.goto()
VCF.has_index
VCF.is_snp()
VCF.num_samples
VCF.read()
from_clustal()
from_staden()
from_genalys()
get_fgenesh()
GenBank
GenBankFeature
GenBankFeature.add_qualifier()
GenBankFeature.copy()
GenBankFeature.format()
GenBankFeature.get_sequence()
GenBankFeature.get_start()
GenBankFeature.get_stop()
GenBankFeature.get_type()
GenBankFeature.parse()
GenBankFeature.qualifiers()
GenBankFeature.rc()
GenBankFeature.shift()
GenBankFeature.update()
GenBankFeatureLocation
GenBankFeatureLocation.add_base_choice()
GenBankFeatureLocation.add_base_range()
GenBankFeatureLocation.add_between_base()
GenBankFeatureLocation.add_single_base()
GenBankFeatureLocation.as_order()
GenBankFeatureLocation.as_range()
GenBankFeatureLocation.copy()
GenBankFeatureLocation.format()
GenBankFeatureLocation.is_complement()
GenBankFeatureLocation.is_range()
GenBankFeatureLocation.rc()
GenBankFeatureLocation.set_complement()
GenBankFeatureLocation.set_forward()
GenBankFeatureLocation.shift()
- Alternative VCF parser
VcfParser
VcfParser.bed_slider()
VcfParser.close()
VcfParser.currline
VcfParser.file_format
VcfParser.get_alt()
VcfParser.get_filter()
VcfParser.get_format()
VcfParser.get_genotypes()
VcfParser.get_info()
VcfParser.get_meta()
VcfParser.get_sample()
VcfParser.get_variant()
VcfParser.good
VcfParser.goto()
VcfParser.has_index
VcfParser.load_index()
VcfParser.num_alt
VcfParser.num_filter
VcfParser.num_format
VcfParser.num_index
VcfParser.num_info
VcfParser.num_meta
VcfParser.num_samples
VcfParser.readline()
VcfParser.rewind()
VcfParser.slider()
VcfParser.unread()
make_vcf_index()
VcfStringParser
VcfStringParser.file_format
VcfStringParser.get_alt()
VcfStringParser.get_filter()
VcfStringParser.get_format()
VcfStringParser.get_genotypes()
VcfStringParser.get_info()
VcfStringParser.get_meta()
VcfStringParser.get_sample()
VcfStringParser.get_variant()
VcfStringParser.num_alt
VcfStringParser.num_filter
VcfStringParser.num_format
VcfStringParser.num_info
VcfStringParser.num_meta
VcfStringParser.num_samples
VcfStringParser.readline()
VcfVariant
VcfVariant.alt_type_default
VcfVariant.alt_type_referred
VcfVariant.alt_type_breakend
VcfVariant.AA
VcfVariant.AC
VcfVariant.AF
VcfVariant.AN
VcfVariant.GL
VcfVariant.GT
VcfVariant.GT_phased
VcfVariant.GT_vcf
VcfVariant.ID
VcfVariant.PL
VcfVariant.alleles
VcfVariant.alternate_types
VcfVariant.chromosome
VcfVariant.failed_tests
VcfVariant.format_fields
VcfVariant.info
VcfVariant.num_alleles
VcfVariant.num_alternate
VcfVariant.num_genotypes
VcfVariant.num_samples
VcfVariant.ploidy
VcfVariant.position
VcfVariant.quality
VcfVariant.samples
VcfSlidingWindow
VcfWindow
FIRST
LAST
BED
- Diversity statistics
ComputeStats
ComputeStats.add_stats()
ComputeStats.all_stats()
ComputeStats.clear_stats()
ComputeStats.configure()
ComputeStats.list_stats()
ComputeStats.process_align()
ComputeStats.process_freq()
ComputeStats.process_site()
ComputeStats.process_sites()
ComputeStats.reset()
ComputeStats.results()
ComputeStats.set_structure()
EHH
EHH.cur_haplotypes
EHH.done_EHH()
EHH.done_EHHc()
EHH.get_EHH()
EHH.get_EHHG()
EHH.get_EHHS()
EHH.get_EHHc()
EHH.get_dEHH()
EHH.get_dEHHG()
EHH.get_dEHHS()
EHH.get_dEHH_max()
EHH.get_dEHH_mean()
EHH.get_dEHHc()
EHH.get_iEG()
EHH.get_iES()
EHH.get_iHH()
EHH.get_iHHc()
EHH.get_iHS()
EHH.get_rEHH()
EHH.load_distant()
EHH.nsam
EHH.nsam_core()
EHH.nsam_hap()
EHH.num_haplotypes
EHH.set_core()
pairwise_LD()
matrix_LD()
ProbaMisoriented
haplotypes_from_align()
haplotypes_from_sites()
CodingDiversity
CodingDiversity.num_codons_eff
CodingDiversity.num_codons_stop
CodingDiversity.num_codons_tot
CodingDiversity.num_multiple_alleles
CodingDiversity.num_multiple_hits
CodingDiversity.num_pol_NS
CodingDiversity.num_pol_S
CodingDiversity.num_pol_single
CodingDiversity.num_sites_NS
CodingDiversity.num_sites_S
CodingDiversity.positions_NS
CodingDiversity.positions_S
CodingDiversity.process()
CodingDiversity.sites_NS
CodingDiversity.sites_S
paralog_pi()
ParalogPi
- Coalescent simulator
- External application tools
phyml()
codeml()
nj()
clustal()
muscle()
muscle5()
muscle3()
makeblastdb()
megablast()
dc_megablast()
blastn()
blastn_short()
blastp()
blastp_short()
blastp_fast()
blastx()
blastx_fast()
tblastn()
tblastn_fast()
tblastx()
BlastOutput
BlastOutput.db
BlastOutput.get_query()
BlastOutput.iter_hits()
BlastOutput.iter_hsp()
BlastOutput.iter_queries()
BlastOutput.num_hits
BlastOutput.num_hsp
BlastOutput.num_queries
BlastOutput.params
BlastOutput.program
BlastOutput.query_ID
BlastOutput.query_def
BlastOutput.query_len
BlastOutput.reference
BlastOutput.version
BlastQueryHits
BlastQueryHits.H
BlastQueryHits.K
BlastQueryHits.L
BlastQueryHits.db_len
BlastQueryHits.db_num
BlastQueryHits.eff_space
BlastQueryHits.get_hit()
BlastQueryHits.hsp_len
BlastQueryHits.iter_hits()
BlastQueryHits.iter_hsp()
BlastQueryHits.num
BlastQueryHits.num_hits
BlastQueryHits.num_hsp
BlastQueryHits.query_ID
BlastQueryHits.query_def
BlastQueryHits.query_len
BlastHit
BlastHsp
- Configuring paths