refseq.rna_sequences
import bedrock_bio as bb
rel = bb.load_table('refseq.rna_sequences')
rel = rel.filter("assembly_accession = 'GCF_000001215.4'")
df = rel.limit(5).pl() # Polars
df = rel.limit(5).df() # Pandas
df.head()| sources | assembly_accession | rna_accession | position | nucleotide | |
|---|---|---|---|---|---|
| 0 | [{'url': 'https://ftp.ncbi.nlm.nih.gov/genomes... | GCF_000001215.4 | NM_001007095.3 | 1 | T |
| 1 | [{'url': 'https://ftp.ncbi.nlm.nih.gov/genomes... | GCF_000001215.4 | NM_001007095.3 | 2 | C |
| 2 | [{'url': 'https://ftp.ncbi.nlm.nih.gov/genomes... | GCF_000001215.4 | NM_001007095.3 | 3 | A |
| 3 | [{'url': 'https://ftp.ncbi.nlm.nih.gov/genomes... | GCF_000001215.4 | NM_001007095.3 | 4 | C |
| 4 | [{'url': 'https://ftp.ncbi.nlm.nih.gov/genomes... | GCF_000001215.4 | NM_001007095.3 | 5 | A |
library(bedrockbio)
library(dplyr)
lf <- load_table("refseq.rna_sequences")
df <- filter(lf, assembly_accession == "GCF_000001215.4") |> collect()
head(df)Sample output (5 rows, showing 4 of 5 columns) assembly_accession | rna_accession | position | nucleotide ------------------ | -------------- | -------- | ---------- 0 GCF_000001215.4 | NM_001007095.3 | 1 | T 1 GCF_000001215.4 | NM_001007095.3 | 2 | C 2 GCF_000001215.4 | NM_001007095.3 | 3 | A 3 GCF_000001215.4 | NM_001007095.3 | 4 | C 4 GCF_000001215.4 | NM_001007095.3 | 5 | A
Description
Section titled “Description”Individual nucleotide positions in accessioned RefSeq RNA products.
Each row represents one 1-based position.
Nucleotide codes are uppercase IUPAC values.
The table is empty when an assembly has no accessioned RNA products.
Partitions
Section titled “Partitions”assembly_accession'GCF_000001215.4''GCF_000001405.25''GCF_000001405.40''GCF_000001635.20''GCF_000001635.27''GCF_000001735.3''GCF_000001735.4''GCF_000001895.5''GCF_000002035.5''GCF_000002035.6''GCF_000002285.5''GCF_000002525.2''GCF_000002655.1''GCF_000002765.6''GCF_000002855.4''GCF_000002945.1''GCF_000002945.2''GCF_000002985.6''GCF_000003025.5''GCF_000003025.6''GCF_000003195.3''GCF_000003625.3''GCF_000004195.4''GCF_000004515.5''GCF_000004515.6''GCF_000006565.2''GCF_000027005.1''GCF_000146045.2''GCF_000149245.1''GCF_000151735.1''GCF_000167675.1''GCF_000182965.3''GCF_000188115.5''GCF_000215625.1''GCF_000226075.1''GCF_000237925.1''GCF_000349665.1''GCF_000364345.1''GCF_000409795.2''GCF_001433935.1''GCF_001704415.1''GCF_001704415.2''GCF_001858045.2''GCF_002263795.3''GCF_002759435.1''GCF_002863925.1''GCF_003339765.1''GCF_003668045.3''GCF_007990345.1''GCF_008728515.1''GCF_009914755.1''GCF_011764305.1''GCF_016699485.2''GCF_016772045.2''GCF_017654675.1''GCF_018294505.1''GCF_020379485.1''GCF_034190915.1''GCF_036323735.1''GCF_037993035.2''GCF_047675955.1''GCF_049350105.2''GCF_049354715.1''GCF_052040795.1''GCF_054392235.1''GCF_902167145.1''GCF_905237065.1''GCF_964237555.1'
Schema
Section titled “Schema”| Column | Type | Description |
|---|---|---|
sources |
STRUCT(url TEXT, filename TEXT, last_modified_at TIMESTAMPTZ, sha256 TEXT)[] |
Source provenance for the row. |
assembly_accession |
TEXT |
Partition column. Versioned RefSeq assembly accession (GCF accession). |
rna_accession |
TEXT |
Versioned RefSeq RNA accession from the FASTA record identifier; joins refseq.transcripts.transcript_accession when NCBI supplies that GFF attribute. |
position |
INT |
1-based nucleotide position on rna_accession. |
nucleotide |
TEXT |
Uppercase IUPAC nucleotide code at position. |