vg sort gam file by read name
1
0
Entering edit mode
17 months ago
Yihang • 0

I wonder if there is a way to sort gam file via vg by the read names. I know there is a command vg gamsort but it seems that this tool does not sort the gam file by name.

Thanks!

vg vgteam variant graph • 650 views
ADD COMMENT
1
Entering edit mode
13 months ago
glenn.hickey ▴ 520

There is no command to do it directly. You can convert to GAF and sort that though:

vg convert graph.vg -G aln.gam | sort -k1 | vg convert graph.vg -F - > aln.sorted.gam

ADD COMMENT

Login before adding your answer.

Traffic: 3156 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6