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

trf2bed #12

Open
jaudall opened this issue Jun 22, 2022 · 2 comments
Open

trf2bed #12

jaudall opened this issue Jun 22, 2022 · 2 comments

Comments

@jaudall
Copy link

jaudall commented Jun 22, 2022

Is there a recommended or vetted output convert to make a bed file from the trf output?
e.g. trf2bed.py

I've found one online, not sure if works. Are there better ways?

@kfletcher88
Copy link

One-line awk solution:

awk -v OFS='\t' '$1 == "Sequence:" {fa = $2; next} ; NF == 15 {print fa, $1, $2}'

@Adamtaranto
Copy link

For the record, if anyone wants to convert a trf dat file to GFF3 you can use the TRF2GFF tool.

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

3 participants