annotate manipulate/rename_kcf/README_rename.md @ 1:0a5e0df17054 draft default tip

Uploaded
author chrisb
date Fri, 06 May 2016 08:05:48 -0400
parents 89592faa2875
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
89592faa2875 Uploaded
chrisb
parents:
diff changeset
1 [TOC]
89592faa2875 Uploaded
chrisb
parents:
diff changeset
2
89592faa2875 Uploaded
chrisb
parents:
diff changeset
3 # rename_kcf.py
89592faa2875 Uploaded
chrisb
parents:
diff changeset
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.
89592faa2875 Uploaded
chrisb
parents:
diff changeset
5
89592faa2875 Uploaded
chrisb
parents:
diff changeset
6 ## Works with Galaxy?
89592faa2875 Uploaded
chrisb
parents:
diff changeset
7 Yes. see [rename_kcf.xml](rename_kcf.xml)
89592faa2875 Uploaded
chrisb
parents:
diff changeset
8
89592faa2875 Uploaded
chrisb
parents:
diff changeset
9 ## Command line usage
89592faa2875 Uploaded
chrisb
parents:
diff changeset
10
89592faa2875 Uploaded
chrisb
parents:
diff changeset
11 ```
89592faa2875 Uploaded
chrisb
parents:
diff changeset
12 ../../virtualpy/bin/activate
89592faa2875 Uploaded
chrisb
parents:
diff changeset
13 python rename_kcf.py -i $input -o $kcfoutput -p $prefix -c $counter
89592faa2875 Uploaded
chrisb
parents:
diff changeset
14 ```
89592faa2875 Uploaded
chrisb
parents:
diff changeset
15
89592faa2875 Uploaded
chrisb
parents:
diff changeset
16
89592faa2875 Uploaded
chrisb
parents:
diff changeset
17 ## Help
89592faa2875 Uploaded
chrisb
parents:
diff changeset
18 ```
89592faa2875 Uploaded
chrisb
parents:
diff changeset
19 ../../virtualpy/bin/activate
89592faa2875 Uploaded
chrisb
parents:
diff changeset
20 python rename_kcf.py -h
89592faa2875 Uploaded
chrisb
parents:
diff changeset
21 ```
89592faa2875 Uploaded
chrisb
parents:
diff changeset
22
89592faa2875 Uploaded
chrisb
parents:
diff changeset
23 ## Unit Testing?
89592faa2875 Uploaded
chrisb
parents:
diff changeset
24 Yes.
89592faa2875 Uploaded
chrisb
parents:
diff changeset
25
89592faa2875 Uploaded
chrisb
parents:
diff changeset
26
89592faa2875 Uploaded
chrisb
parents:
diff changeset
27
89592faa2875 Uploaded
chrisb
parents:
diff changeset
28 ```
89592faa2875 Uploaded
chrisb
parents:
diff changeset
29 ../../virtualpy/bin/activate
89592faa2875 Uploaded
chrisb
parents:
diff changeset
30 python test_rename_kcf.py
89592faa2875 Uploaded
chrisb
parents:
diff changeset
31 ```