pysam
0.22.0
Introduction
API
Working with BAM/CRAM/SAM-formatted files
Using samtools commands within python
Working with tabix-indexed files
Working with VCF/BCF formatted files
Extending pysam
Installing pysam
FAQ
Developer’s guide
Release notes
Benchmarking
Glossary
pysam
Docs
»
Index
Index
A
|
B
|
C
|
D
|
F
|
G
|
H
|
I
|
K
|
L
|
M
|
N
|
O
|
P
|
Q
|
R
|
S
|
T
|
U
|
V
|
W
A
add_hts_options (pysam.HTSFile attribute)
add_line (pysam.VariantHeader attribute)
add_meta (pysam.VariantHeader attribute)
add_record (pysam.VariantHeader attribute)
add_sample (pysam.VariantHeader attribute)
add_samples (pysam.VariantHeader attribute)
aend (pysam.AlignedSegment attribute)
alen (pysam.AlignedSegment attribute)
aligned_pairs (pysam.AlignedSegment attribute)
AlignedSegment (class in pysam)
alignment (pysam.PileupRead attribute)
AlignmentFile (class in pysam)
AlignmentHeader (class in pysam)
alleles (pysam.VariantRecord attribute)
alts (pysam.VariantHeader attribute)
(pysam.VariantRecord attribute)
as_dict (pysam.AlignmentHeader attribute)
asBed (class in pysam)
asGTF (class in pysam)
asTuple (class in pysam)
asVCF (class in pysam)
attrs (pysam.VariantHeaderRecord attribute)
B
BAM
BCF
BED
bgzip
bin (pysam.AlignedSegment attribute)
blocks (pysam.AlignedSegment attribute)
build (pysam.IndexedReads attribute)
C
category (pysam.HTSFile attribute)
check_index (pysam.AlignmentFile attribute)
check_truncation (pysam.HTSFile attribute)
chrom (pysam.VariantRecord attribute)
cigar
(pysam.AlignedSegment attribute)
cigarstring (pysam.AlignedSegment attribute)
cigartuples (pysam.AlignedSegment attribute)
close (pysam.AlignmentFile attribute)
(pysam.FastaFile attribute)
(pysam.FastxFile attribute)
(pysam.HTSFile attribute)
(pysam.TabixFile attribute)
(pysam.VariantFile attribute)
closed (pysam.FastaFile attribute)
(pysam.FastxFile attribute)
(pysam.HTSFile attribute)
column
compare (pysam.AlignedSegment attribute)
compression (pysam.HTSFile attribute)
contig
(pysam.VariantRecord attribute)
contigs (pysam.TabixFile attribute)
(pysam.VariantHeader attribute)
copy (pysam.AlignmentHeader attribute)
(pysam.VariantFile attribute)
(pysam.VariantHeader attribute)
(pysam.VariantRecord attribute)
count (pysam.AlignmentFile attribute)
count_coverage (pysam.AlignmentFile attribute)
CRAM
D
description (pysam.HTSFile attribute)
F
faidx
FASTA
FastaFile (class in pysam)
FASTQ
FastqProxy (class in pysam)
FastxFile (class in pysam)
fetch (pysam.AlignmentFile attribute)
(pysam.FastaFile attribute)
(pysam.TabixFile attribute)
(pysam.VariantFile attribute)
fetching
filename (pysam.FastaFile attribute)
(pysam.FastxFile attribute)
filter (pysam.VariantRecord attribute)
filters (pysam.VariantHeader attribute)
find (pysam.IndexedReads attribute)
find_introns (pysam.AlignmentFile attribute)
find_introns_slow (pysam.AlignmentFile attribute)
flag (pysam.AlignedSegment attribute)
format (pysam.HTSFile attribute)
(pysam.VariantRecord attribute)
formats (pysam.VariantHeader attribute)
from_dict() (pysam.AlignedSegment class method)
(pysam.AlignmentHeader class method)
from_references() (pysam.AlignmentHeader class method)
from_text() (pysam.AlignmentHeader class method)
fromstring() (pysam.AlignedSegment class method)
G
genotype
get (pysam.AlignmentHeader attribute)
(pysam.VariantHeaderRecord attribute)
get_aligned_pairs (pysam.AlignedSegment attribute)
get_blocks (pysam.AlignedSegment attribute)
get_cigar_stats (pysam.AlignedSegment attribute)
get_forward_qualities (pysam.AlignedSegment attribute)
get_forward_sequence (pysam.AlignedSegment attribute)
get_index_statistics (pysam.AlignmentFile attribute)
get_mapping_qualities (pysam.PileupColumn attribute)
get_num_aligned (pysam.PileupColumn attribute)
get_overlap (pysam.AlignedSegment attribute)
get_quality_array (pysam.FastqProxy attribute)
get_query_names (pysam.PileupColumn attribute)
get_query_positions (pysam.PileupColumn attribute)
get_query_qualities (pysam.PileupColumn attribute)
get_query_sequences (pysam.PileupColumn attribute)
get_reference_length (pysam.AlignmentFile attribute)
(pysam.AlignmentHeader attribute)
(pysam.FastaFile attribute)
get_reference_name (pysam.AlignmentFile attribute)
(pysam.AlignmentHeader attribute)
(pysam.HTSFile attribute)
(pysam.VariantFile attribute)
get_reference_positions (pysam.AlignedSegment attribute)
get_reference_sequence (pysam.AlignedSegment attribute)
get_tag (pysam.AlignedSegment attribute)
get_tags (pysam.AlignedSegment attribute)
get_tid (pysam.AlignmentFile attribute)
(pysam.AlignmentHeader attribute)
(pysam.HTSFile attribute)
(pysam.VariantFile attribute)
getrname (pysam.AlignmentFile attribute)
gettid (pysam.AlignmentFile attribute)
GTF
H
hard clipped
hard clipping
has_index (pysam.AlignmentFile attribute)
has_tag (pysam.AlignedSegment attribute)
head (pysam.AlignmentFile attribute)
header (pysam.TabixFile attribute)
HTSFile (class in pysam)
I
id (pysam.VariantRecord attribute)
indel (pysam.PileupRead attribute)
IndexedReads (class in pysam)
infer_query_length (pysam.AlignedSegment attribute)
infer_read_length (pysam.AlignedSegment attribute)
inferred_length (pysam.AlignedSegment attribute)
info (pysam.VariantHeader attribute)
(pysam.VariantRecord attribute)
is_bam (pysam.HTSFile attribute)
is_bcf (pysam.HTSFile attribute)
is_closed (pysam.HTSFile attribute)
is_cram (pysam.HTSFile attribute)
is_del (pysam.PileupRead attribute)
is_duplicate (pysam.AlignedSegment attribute)
is_forward (pysam.AlignedSegment attribute)
is_head (pysam.PileupRead attribute)
is_mapped (pysam.AlignedSegment attribute)
is_open (pysam.FastaFile attribute)
(pysam.FastxFile attribute)
(pysam.HTSFile attribute)
is_paired (pysam.AlignedSegment attribute)
is_proper_pair (pysam.AlignedSegment attribute)
is_qcfail (pysam.AlignedSegment attribute)
is_read (pysam.HTSFile attribute)
is_read1 (pysam.AlignedSegment attribute)
is_read2 (pysam.AlignedSegment attribute)
is_refskip (pysam.PileupRead attribute)
is_reverse (pysam.AlignedSegment attribute)
is_sam (pysam.HTSFile attribute)
is_secondary (pysam.AlignedSegment attribute)
is_supplementary (pysam.AlignedSegment attribute)
is_tail (pysam.PileupRead attribute)
is_unmapped (pysam.AlignedSegment attribute)
is_valid_reference_name (pysam.HTSFile attribute)
is_valid_tid (pysam.AlignmentFile attribute)
(pysam.AlignmentHeader attribute)
(pysam.HTSFile attribute)
(pysam.VariantFile attribute)
is_vcf (pysam.HTSFile attribute)
is_write (pysam.HTSFile attribute)
isize (pysam.AlignedSegment attribute)
items (pysam.AlignmentHeader attribute)
(pysam.VariantHeaderRecord attribute)
iteritems (pysam.AlignmentHeader attribute)
(pysam.VariantHeaderRecord attribute)
iterkeys (pysam.VariantHeaderRecord attribute)
itervalues (pysam.VariantHeaderRecord attribute)
K
key (pysam.VariantHeaderRecord attribute)
keys (pysam.AlignmentHeader attribute)
(pysam.VariantHeaderRecord attribute)
L
lengths (pysam.AlignmentFile attribute)
(pysam.AlignmentHeader attribute)
(pysam.FastaFile attribute)
level (pysam.PileupRead attribute)
M
mapped (pysam.AlignmentFile attribute)
mapping_quality (pysam.AlignedSegment attribute)
mapq (pysam.AlignedSegment attribute)
mate (pysam.AlignmentFile attribute)
mate_is_forward (pysam.AlignedSegment attribute)
mate_is_mapped (pysam.AlignedSegment attribute)
mate_is_reverse (pysam.AlignedSegment attribute)
mate_is_unmapped (pysam.AlignedSegment attribute)
merge (pysam.VariantHeader attribute)
modified_bases (pysam.AlignedSegment attribute)
modified_bases_forward (pysam.AlignedSegment attribute)
mpos (pysam.AlignedSegment attribute)
mrnm (pysam.AlignedSegment attribute)
N
n (pysam.PileupColumn attribute)
name (pysam.FastqProxy attribute)
new_record (pysam.VariantFile attribute)
(pysam.VariantHeader attribute)
next_reference_id (pysam.AlignedSegment attribute)
next_reference_name (pysam.AlignedSegment attribute)
next_reference_start (pysam.AlignedSegment attribute)
nocoordinate (pysam.AlignmentFile attribute)
nreferences (pysam.AlignmentFile attribute)
(pysam.AlignmentHeader attribute)
(pysam.FastaFile attribute)
nsegments (pysam.PileupColumn attribute)
O
open (pysam.VariantFile attribute)
opt (pysam.AlignedSegment attribute)
overlap (pysam.AlignedSegment attribute)
P
parse_region (pysam.HTSFile attribute)
pileup
(pysam.AlignmentFile attribute)
PileupColumn (class in pysam)
PileupRead (class in pysam)
pileups (pysam.PileupColumn attribute)
pnext (pysam.AlignedSegment attribute)
pop (pysam.VariantHeaderRecord attribute)
pos (pysam.AlignedSegment attribute)
(pysam.PileupColumn attribute)
(pysam.VariantRecord attribute)
positions (pysam.AlignedSegment attribute)
Q
qend (pysam.AlignedSegment attribute)
qlen (pysam.AlignedSegment attribute)
qname (pysam.AlignedSegment attribute)
qqual (pysam.AlignedSegment attribute)
qstart (pysam.AlignedSegment attribute)
qual (pysam.AlignedSegment attribute)
(pysam.VariantRecord attribute)
quality (pysam.FastqProxy attribute)
query (pysam.AlignedSegment attribute)
query_alignment_end (pysam.AlignedSegment attribute)
query_alignment_length (pysam.AlignedSegment attribute)
query_alignment_qualities (pysam.AlignedSegment attribute)
query_alignment_sequence (pysam.AlignedSegment attribute)
query_alignment_start (pysam.AlignedSegment attribute)
query_length (pysam.AlignedSegment attribute)
query_name (pysam.AlignedSegment attribute)
query_position (pysam.PileupRead attribute)
query_position_or_next (pysam.PileupRead attribute)
query_qualities (pysam.AlignedSegment attribute)
query_sequence (pysam.AlignedSegment attribute)
R
records (pysam.VariantHeader attribute)
ref (pysam.VariantRecord attribute)
reference
reference_end (pysam.AlignedSegment attribute)
reference_id (pysam.AlignedSegment attribute)
(pysam.PileupColumn attribute)
reference_length (pysam.AlignedSegment attribute)
reference_name (pysam.AlignedSegment attribute)
(pysam.PileupColumn attribute)
reference_pos (pysam.PileupColumn attribute)
reference_start (pysam.AlignedSegment attribute)
references (pysam.AlignmentFile attribute)
(pysam.AlignmentHeader attribute)
(pysam.FastaFile attribute)
region
remove (pysam.VariantHeaderRecord attribute)
reset (pysam.HTSFile attribute)
(pysam.VariantFile attribute)
rid (pysam.VariantRecord attribute)
rlen (pysam.AlignedSegment attribute)
(pysam.VariantRecord attribute)
rname (pysam.AlignedSegment attribute)
rnext (pysam.AlignedSegment attribute)
S
SAM
sam file
samples (pysam.VariantHeader attribute)
(pysam.VariantRecord attribute)
seek (pysam.HTSFile attribute)
seq (pysam.AlignedSegment attribute)
sequence (pysam.FastqProxy attribute)
set_min_base_quality (pysam.PileupColumn attribute)
set_tag (pysam.AlignedSegment attribute)
set_tags (pysam.AlignedSegment attribute)
setTag (pysam.AlignedSegment attribute)
soft clipped
soft clipping
start (pysam.VariantRecord attribute)
stop (pysam.VariantRecord attribute)
subset_samples (pysam.VariantFile attribute)
T
tabix
tabix file
tabix row
tabix_compress() (in module pysam)
tabix_index() (in module pysam)
tabix_iterator() (in module pysam)
TabixFile (class in pysam)
tags (pysam.AlignedSegment attribute)
TAM
target
tell (pysam.HTSFile attribute)
template_length (pysam.AlignedSegment attribute)
text (pysam.AlignmentFile attribute)
tid
(pysam.AlignedSegment attribute)
(pysam.PileupColumn attribute)
tlen (pysam.AlignedSegment attribute)
to_dict (pysam.AlignedSegment attribute)
(pysam.AlignmentHeader attribute)
to_string (pysam.AlignedSegment attribute)
tostring (pysam.AlignedSegment attribute)
translate (pysam.VariantRecord attribute)
type (pysam.VariantHeaderRecord attribute)
U
unmapped (pysam.AlignmentFile attribute)
update (pysam.VariantHeaderRecord attribute)
V
value (pysam.VariantHeaderRecord attribute)
values (pysam.AlignmentHeader attribute)
(pysam.VariantHeaderRecord attribute)
VariantFile (class in pysam)
VariantHeader (class in pysam)
VariantHeaderRecord (class in pysam)
VariantRecord (class in pysam)
VCF
version (pysam.HTSFile attribute)
(pysam.VariantHeader attribute)
W
write (pysam.AlignmentFile attribute)
(pysam.VariantFile attribute)