LabTranslationalArchitectomics / riboWaltz

optimization of ribosome P-site positioning in ribosome profiling data
MIT License
46 stars 12 forks source link

Error in codon_usage_psite function #54

Closed agoldkamp closed 2 years ago

agoldkamp commented 2 years ago

Hello,

I am currently trying to run this command:

example_cu_barplot <- codon_usage_psite(reads_asite_list, annotation_dt, sample = "Kidney_1.norrna_notrna_ref_mRNA", site = "asite", fastapath = "/Users/annagoldkamp/refmrna.fa", fasta_genome = FALSE, frequency_normalization = TRUE)

I have run it before with frequency_normalization = FALSE and it ran without error. When I run it with frequency_normalization = TRUE, it gives me this error.

Screen Shot 2022-01-19 at 12 40 13 PM

I appreciate any feedback on resolving this issue.

Thank you, Anna

agoldkamp commented 2 years ago

Hello,

I resolved this issue by removing the row in the annotation data table that was causing the error.

Thank you, Anna