repeatR
repeatR copied to clipboard
getting error in summarise_rm_ID
hello Sir, I was analyzing repeat masker output for Oryza_sativa_HR12, was faced the following error, please suggest a solution. Should I share RMasker output file?
Oryza_sativa_HR12_aggregated <- summarise_rm_ID(Oryza_sativa_HR12) Error in
[.data.table(setDT(rm_table), , list(score = sum(score), p_sub = mean_psub(p_sub, : Supplied 2 items for column 11 of group 380702 which has 3 rows. The RHS length must either be 1 (single values are ok) or match the LHS length exactly. If you wish to 'recycle' the RHS please use rep() explicitly to make this intent clear to readers of your code.
Hi @Ravindra-Raut ,
Thanks for filing this issue. Just dropping you a note to say it's come at a very busy time, so it will be a little while until I can get to the bottom of what's going on. But it is in the TODO list!
Thank you for your consideration and response. I appreciate your time and efforts. Waiting for the solution.
Figured out how to back track and get this installed in a Win10 running R4.0. Working on repeatMasker output on scorpion genome. Got to the
rm_file <- system.file("extdata", " Rat-FlyeP5-Final-101320.fasta.out", package="repeatR")
cvitattus <- read_rm(rm_file) #unfortunately, this line throws an error
error output:
Error in [.data.frame(raw_data, , 9) : undefined columns selected
In addition: Warning message:
In file(con, "r") :
file("") only supports open = "w+" and open = "w+b": using the former
This was posted not for you but for dwinter, the developer. I am having a similar problem as you are.
@.***
From: Ravindra Raut @.> Sent: Monday, August 30, 2021 8:10 AM To: dwinter/repeatR @.> Cc: Douglas Duane Rhoads @.>; Comment @.> Subject: Re: [dwinter/repeatR] getting error in summarise_rm_ID (#4)
Thank you sir, I will fallow your suggestions and I will try on rice genome assembly. Let's see how it goes.
With regards Ravindra
On Mon, 30 Aug, 2021, 6:14 pm drhoads, @.***mailto:***@***.***> wrote:
Figured out how to back track and get this installed in a Win10 running R4.0. Working on repeatMasker output on scorpion genome. Got to the rm_file <- system.file("extdata", " Rat-FlyeP5-Final-101320.fasta.out", package="repeatR") cvitattus <- read_rm(rm_file) #unfortunately, this line throws an error error output: Error in [.data.frame(raw_data, , 9) : undefined columns selected In addition: Warning message: In file(con, "r") : file("") only supports open = "w+" and open = "w+b": using the former
You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/dwinter/repeatR/issues/4#issuecomment-908311379, or unsubscribe https://github.com/notifications/unsubscribe-auth/AICDXCLSIRHYQ2JNLJUACQLT7N4L7ANCNFSM5BF5YR7A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fdwinter%2FrepeatR%2Fissues%2F4%23issuecomment-908329335&data=04%7C01%7Cdrhoads%40uark.edu%7Ce59c96942da249eddf6408d96bb78783%7C79c742c4e61c4fa5be89a3cb566a80d1%7C0%7C0%7C637659258268576632%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=f%2B6gLW7TW6qwhXO6XkPsSwvm9Gfozk8JMNleND1%2BkZg%3D&reserved=0, or unsubscribehttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAIX22VSXQNPA5XIJCIFHYSLT7N7LRANCNFSM5BF5YR7A&data=04%7C01%7Cdrhoads%40uark.edu%7Ce59c96942da249eddf6408d96bb78783%7C79c742c4e61c4fa5be89a3cb566a80d1%7C0%7C0%7C637659258268586627%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=Esn46MsG1v1gusmphrGGCkuH3joOj9Hy%2BwNJensjUG0%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7Cdrhoads%40uark.edu%7Ce59c96942da249eddf6408d96bb78783%7C79c742c4e61c4fa5be89a3cb566a80d1%7C0%7C0%7C637659258268586627%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=DS3fobBAkikia2gHOO5MaDhIPpP38t146w5OHjjl8rE%3D&reserved=0 or Androidhttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7Cdrhoads%40uark.edu%7Ce59c96942da249eddf6408d96bb78783%7C79c742c4e61c4fa5be89a3cb566a80d1%7C0%7C0%7C637659258268596616%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=CY1RgzYsXDiB69UOOzadbU4CzSgx%2BZFjJAwsC%2Flggsc%3D&reserved=0.
This was posted not for you but for dwinter, the developer. I am having a similar problem as you are. @.*** From: Ravindra Raut @.> Sent: Monday, August 30, 2021 8:10 AM To: dwinter/repeatR @.> Cc: Douglas Duane Rhoads @.>; Comment @.> Subject: Re: [dwinter/repeatR] getting error in summarise_rm_ID (#4) Thank you sir, I will fallow your suggestions and I will try on rice genome assembly. Let's see how it goes. With regards Ravindra On Mon, 30 Aug, 2021, 6:14 pm drhoads, @.***mailto:***@***.***> wrote: Figured out how to back track and get this installed in a Win10 running R4.0. Working on repeatMasker output on scorpion genome. Got to the rm_file <- system.file("extdata", " Rat-FlyeP5-Final-101320.fasta.out", package="repeatR") cvitattus <- read_rm(rm_file) #unfortunately, this line throws an error error output: Error in [.data.frame(raw_data, , 9) : undefined columns selected In addition: Warning message: In file(con, "r") : file("") only supports open = "w+" and open = "w+b": using the former - You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#4 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AICDXCLSIRHYQ2JNLJUACQLT7N4L7ANCNFSM5BF5YR7A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
- You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fdwinter%2FrepeatR%2Fissues%2F4%23issuecomment-908329335&data=04%7C01%7Cdrhoads%40uark.edu%7Ce59c96942da249eddf6408d96bb78783%7C79c742c4e61c4fa5be89a3cb566a80d1%7C0%7C0%7C637659258268576632%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=f%2B6gLW7TW6qwhXO6XkPsSwvm9Gfozk8JMNleND1%2BkZg%3D&reserved=0, or unsubscribehttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAIX22VSXQNPA5XIJCIFHYSLT7N7LRANCNFSM5BF5YR7A&data=04%7C01%7Cdrhoads%40uark.edu%7Ce59c96942da249eddf6408d96bb78783%7C79c742c4e61c4fa5be89a3cb566a80d1%7C0%7C0%7C637659258268586627%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=Esn46MsG1v1gusmphrGGCkuH3joOj9Hy%2BwNJensjUG0%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7Cdrhoads%40uark.edu%7Ce59c96942da249eddf6408d96bb78783%7C79c742c4e61c4fa5be89a3cb566a80d1%7C0%7C0%7C637659258268586627%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=DS3fobBAkikia2gHOO5MaDhIPpP38t146w5OHjjl8rE%3D&reserved=0 or Androidhttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7Cdrhoads%40uark.edu%7Ce59c96942da249eddf6408d96bb78783%7C79c742c4e61c4fa5be89a3cb566a80d1%7C0%7C0%7C637659258268596616%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=CY1RgzYsXDiB69UOOzadbU4CzSgx%2BZFjJAwsC%2Flggsc%3D&reserved=0.
I am waiting for the solution from dr david winter like you.
I'm having this same issue: Error in [.data.table(setDT(rm_table), , list(score = sum(score), p_sub = mean_psub(p_sub, : Supplied 2 items for column 11 of group 1570388 which has 3 rows. The RHS length must either be 1 (single values are ok) or match the LHS length exactly. If you wish to 'recycle' the RHS please use rep() explicitly to make this intent clear to readers of your code.
Hello dear developer,
I'm having the same error. I think that the function setDT is not defined in this repo at the moment. You must have it somewhere else. Could you share the function?
Best, P