0
|
1 [TOC]
|
|
2
|
|
3 # rename_kcf.py
|
|
4 This tool reads kcf glycans and sequentially renames them as GLY{$COUNT}. Why? Sometimes entry names have illegal chars e.g. "-" or sometimes they are linearcode.
|
|
5
|
|
6 ## Works with Galaxy?
|
|
7 Yes. see [rename_kcf.xml](rename_kcf.xml)
|
|
8
|
|
9 ## Command line usage
|
|
10
|
|
11 ```
|
|
12 ../../virtualpy/bin/activate
|
|
13 python rename_kcf.py -i $input -o $kcfoutput -p $prefix -c $counter
|
|
14 ```
|
|
15
|
|
16
|
|
17 ## Help
|
|
18 ```
|
|
19 ../../virtualpy/bin/activate
|
|
20 python rename_kcf.py -h
|
|
21 ```
|
|
22
|
|
23 ## Unit Testing?
|
|
24 Yes.
|
|
25
|
|
26
|
|
27
|
|
28 ```
|
|
29 ../../virtualpy/bin/activate
|
|
30 python test_rename_kcf.py
|
|
31 ```
|