Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save maxulysse/6bc1f19ccd7438059ee963c0cc7319d2 to your computer and use it in GitHub Desktop.
Save maxulysse/6bc1f19ccd7438059ee963c0cc7319d2 to your computer and use it in GitHub Desktop.
Command line to get intervals
> for i in `ls -1v`; do echo ${i%.fa}:1-$(cat $i | grep -v ">" | wc -c) ; done
1:1-124723432
2:1-86850487
3:1-93420528
4:1-89747909
5:1-90397171
6:1-78866698
7:1-82324108
8:1-75569257
9:1-62091984
10:1-70486972
11:1-75628916
12:1-73706383
13:1-64295956
14:1-61982791
15:1-65260816
16:1-60626727
17:1-65360544
18:1-56775593
19:1-54637308
20:1-59102957
21:1-51706267
22:1-62463933
23:1-53166055
24:1-48493759
25:1-52489416
26:1-39614102
27:1-46641322
28:1-41868481
29:1-42542659
30:1-40884498
31:1-40560854
32:1-39457120
33:1-31900019
34:1-42826505
35:1-26967083
36:1-31324512
37:1-31418041
38:1-24313113
MT:1-17006
X:1-125933628
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment