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

check if input BED file is correctly formatted #13

Open
borauyar opened this issue Jun 24, 2021 · 4 comments
Open

check if input BED file is correctly formatted #13

borauyar opened this issue Jun 24, 2021 · 4 comments

Comments

@borauyar
Copy link
Member

If the BED file doesn't follow the specifications or contains incomplete columns (e.g. missing the "name" field), some functions may fail (e.g. queryGff).

@aoiwaka
Copy link

aoiwaka commented Jan 16, 2022

Hi,

I've been running into an issue about this. I was able to run the script for summarizing overlaps with queryGFF on R yesterday however, when I try to execute the exact same script I now get this error:

Error: subscript is a NSBS object that is incompatible with the current subsetting operation

After some Googling, I tried editing my .gtf file so that the first column lists the chromosome number as "chr1" instead of just "1". This seemed to have help as I was able to execute queryGFF, except I now end up with a dataframe that has everything except for queryIndex, queryRange, query_name, and query_score. Instead it lists overlappingQuery (which I believe is the same as "queryRange"). I also checked my bed file and added the "name" field, which were just numbers 1 to n number of lines however, this didn't help and I end up with the same result. This is an issue since I don't know how I'll be able to select unique queries without the queryIndex.

So, my question is: did RCAS undergo an update just yesterday that changed the queryGFF function? I'm wondering this because I literally had no problem running the commands in the vignette for displaying targeted gene types and now today when I try running the same exact commands I end up with an error. I also didn't update anything on R studio between yesterday and today (at least to my knowledge, consciously).

Thanks!
Aoi

@borauyar
Copy link
Member Author

Dear Aoi,
Sorry for the late response. No, I haven't made an update to RCAS, however, some dependencies of RCAS may have had updates that might affect the behaviour of RCAS functions.
Would it be possible for you to send me a test case so that I can reproduce the issue here?
Do you get this error with the built-in test data in RCAS as well?
Bora

@aoiwaka
Copy link

aoiwaka commented Jan 24, 2022 via email

@borauyar
Copy link
Member Author

@aoiwaka Great! Thanks for letting me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants