Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in `Add_Mito_Ribo_Seurat #133

Closed
amv33576 opened this issue Oct 18, 2023 · 3 comments
Closed

Error in `Add_Mito_Ribo_Seurat #133

amv33576 opened this issue Oct 18, 2023 · 3 comments
Assignees
Labels
bug Something isn't working more-info-needed Further information is requested

Comments

@amv33576
Copy link

Good day,

This is my command:
I have a list with the ribosomal gene names: ribo_gene_list

class(ribo_gene_list)
[1] "character"

head(ribo_gene_list)
[1] "Avfl.Avfl000001G13960" "Avfl.Avfl000034G2247.dok7" "Avfl.Avfl000153G27357.fasn3" "Avfl.Avfl000218G1006" "Avfl.Avfl000296G113.po11"
[6] "Avfl.Avfl000335G14670.inx7"

seuratObj <- Add_Mito_Ribo_Seurat(seuratObj, ribo_features = ribo_gene_list, species = "other")

I am adding species = "other", because it is a butterfly species, no found in the available list.

I get this error:

Error in Add_Mito_Ribo_Seurat():
! No features or patterns provided for mito/ribo genes.
ℹ Please provide a default species name or pattern/features.
Run rlang::last_trace() to see where the error occurred.

rlang::last_trace()
<error/rlang_error>
Error in Add_Mito_Ribo_Seurat():
! No features or patterns provided for mito/ribo genes.
ℹ Please provide a default species name or pattern/features.


Backtrace:

  1. └─scCustomize::Add_Mito_Ribo_Seurat(seuratObj, ribo_features = ribo_gene_list, species = "other")
    Run rlang::last_trace(drop = FALSE) to see 2 hidden frames.

rlang::last_trace(drop = FALSE)
<error/rlang_error>
Error in Add_Mito_Ribo_Seurat():
! No features or patterns provided for mito/ribo genes.
ℹ Please provide a default species name or pattern/features.


Backtrace:

  1. └─scCustomize::Add_Mito_Ribo_Seurat(seuratObj, ribo_features = ribo_gene_list, species = "other")
  2. └─cli::cli_abort(...)
  3. └─rlang::abort(...)
    

I am using scCustomize 1.1.3 and Seurat 4.9.9.9067

Not sure what I am doing wrong. Could you please help me?

Best,

Anyi

@samuel-marsh
Copy link
Owner

Hi Anyi,

Thanks for posting issue. I’ll take look at it. If you don’t mind, could you update to the develop_V5 branch and let me know if you get the same error?

Thanks!
Sam

@samuel-marsh samuel-marsh self-assigned this Oct 18, 2023
@samuel-marsh samuel-marsh added bug Something isn't working more-info-needed Further information is requested labels Oct 18, 2023
@amv33576
Copy link
Author

Thank you!

I updated it (1.9.9.9027), and it still shows the same error.

test <- Add_Mito_Ribo_Seurat(seurat_object = seuratObj, species = "other", ribo_features = ribo_gene_list)
Error in Add_Mito_Ribo_Seurat():
! No features or patterns provided for mito/ribo genes.
ℹ Please provide a default species name or pattern/features.
Run rlang::last_trace() to see where the error occurred.
rlang::last_trace()
<error/rlang_error>
Error in Add_Mito_Ribo_Seurat():
! No features or patterns provided for mito/ribo genes.
ℹ Please provide a default species name or pattern/features.


Backtrace:

  1. └─scCustomize::Add_Mito_Ribo_Seurat(seurat_object = seuratObj, species = "other", ribo_features = ribo_gene_list)
    Run rlang::last_trace(drop = FALSE) to see 2 hidden frames.

rlang::last_trace(drop = FALSE)
<error/rlang_error>
Error in Add_Mito_Ribo_Seurat():
! No features or patterns provided for mito/ribo genes.
ℹ Please provide a default species name or pattern/features.


Backtrace:

  1. └─scCustomize::Add_Mito_Ribo_Seurat(seurat_object = seuratObj, species = "other", ribo_features = ribo_gene_list)
  2. └─cli::cli_abort(...)
  3. └─rlang::abort(...)
    

@samuel-marsh
Copy link
Owner

Hi Anyi,

I believe I have fixed the issue and fix is now live in v1.9.9.9029. If you are still receiving this error or another one after updating to newest dev version please let me know here and I will reopen the issue.

Thanks!
Sam

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working more-info-needed Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants