Skip to content

"import_samples_monocle" -  #4

@plhm

Description

@plhm

Hi, J0bbie.

A couple of things going on with 'import_samples_monocle."
The function crashed on me when I ran the following command on R version 4.3.1.
Here is the command:

import_samples_monocle(folder = "/path-to/alignment", samples ="rerio", gtf = /path/to/Danio.gtf")

And got the following error:

INFO [2024-01-02 15:24:23] import_samples_monocle: Retrieving files.
INFO [2024-01-02 15:24:23] import_samples_monocle: Retrieving and processing GTF file.
Error in `dplyr::filter()`:
ℹ In argument: `base::grepl("protein_coding|lncRNA|IG_.*_gene", gene_type)`.
Caused by error:
! object 'gene_type' not found
Run `rlang::last_trace()` to see where the error occurred.

When I dug into the code, I noted the following problems this far:

The user is not toldthey need to be in the folder containing "Solo.out."
Function expects foder name within Solo.out to be named "GeneFull/filtered," which breaks using the latest version of sci-seq the pipeline, which produces 'GeneFull_Ex50pAS' folders.
Rather than 'gene_type' NCBI uses the column name 'gene_biotype.'
Rather than 'gene_name' NCBI uses the column name 'gene_synonym.'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions