Skip to content

Cannot link biosample to sra #107

Description

@stitam

This works (although the result is NA)

webseq::ncbi_link_uid(webseq::ncbi_get_uid("SAMN02714232", db = "biosample"), 
    to = "sra")
#> # A tibble: 1 × 2
#>   biosample   sra
#>       <dbl> <dbl>
#> 1   2714232    NA

Created on 2025-11-21 with reprex v2.1.1

This doesn't work:

webseq::ncbi_link("SAMN02714232", from = "biosample", to = "sra")
#> Error in x$uid: $ operator is invalid for atomic vectors

Created on 2025-11-21 with reprex v2.1.1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions