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

problem in provided annotations #25

Open
andypohl opened this issue Jun 22, 2017 · 0 comments
Open

problem in provided annotations #25

andypohl opened this issue Jun 22, 2017 · 0 comments

Comments

@andypohl
Copy link

I had a problem with the example command not working because of a malformed file: docs/GRCm38/GRCm38.sizes. First of all this file doesn't end in a newline, which by itself can cause problems. The main problem though is that there is a rogue whitespace character causing bedtools to complain:

Less than the req'd two fields were encountered in the genome file (/home/andy/FAST-iCLIP/docs/GRCm38/GRCm38.sizes) at line 22.  Exiting.

I fixed this with a simple awk 'BEGIN{OFS="\t"}{print $1, $2;}'.

I made sure all your annotation text files ended in newlines with:

$ find docs/ -type f -exec file '{}' \; | grep ASCII | cut -f1 -d':' | xargs sed -i -e '$a\'

But as I said, the problem with the .sizes file was something else. I still encourage you to check that there aren't errors in the tabs/whitespace in the tab-delimited annotation files.

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

1 participant