Fetches information about disordered and flexible protein regions from MobiDB.

fetch_mobidb(
  uniprot_ids = NULL,
  organism_id = NULL,
  show_progress = TRUE,
  timeout = 60,
  max_tries = 2
)

Arguments

uniprot_ids

optional, a character vector of UniProt identifiers for which information should be fetched. This argument is mutually exclusive to the organism_id argument.

organism_id

optional, a character value providing the NCBI taxonomy identifier of an organism (TaxId) of an organism for which all available information should be retreived. This argument is mutually exclusive to the uniprot_ids argument.

show_progress

a logical value; if TRUE a progress bar will be shown. Default is TRUE.

timeout

a numeric value specifying the time in seconds until the download of an organism archive times out. The default is 60 seconds.

max_tries

a numeric value that specifies the number of times the function tries to download the data in case an error occurs. The default is 2.

Value

A data frame that contains start and end positions for disordered and flexible protein regions. The feature column contains information on the source of this annotation. More information on the source can be found here.

Examples

# \donttest{
fetch_mobidb(
  uniprot_ids = c("P0A799", "P62707")
)
#> # A tibble: 80 × 6
#>    accession feature                  start end   content_fraction content_count
#>    <chr>     <chr>                    <chr> <chr>            <dbl>         <dbl>
#>  1 P0A799    homology-domain-gene3d   165   373              0.966           374
#>  2 P0A799    homology-domain-gene3d   8     381              0.966           374
#>  3 P0A799    homology-domain-pfam     6     373              0.951           368
#>  4 P0A799    homology-domain-merge    6     381              0.972           376
#>  5 P0A799    prediction-disorder-dis… 1     39               0.302           117
#>  6 P0A799    prediction-disorder-dis… 62    69               0.302           117
#>  7 P0A799    prediction-disorder-dis… 98    125              0.302           117
#>  8 P0A799    prediction-disorder-dis… 187   196              0.302           117
#>  9 P0A799    prediction-disorder-dis… 249   256              0.302           117
#> 10 P0A799    prediction-disorder-dis… 265   278              0.302           117
#> # ℹ 70 more rows
# }