Skip to content

Commit 852b5cd

Browse files
example rename_pangenes.pl output
1 parent 333068f commit 852b5cd

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

pangenes/README.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1273,7 +1273,22 @@ You can use the following command to assign them stable ids:
12731273

12741274
perl rename_pangenes.pl -d magic15_pangenes/rice_0taxa_5neigh_algMmap_ -o Os4530.POR.1
12751275

1276-
Suppose you recomputed the pangenes changing params or adding extra data, you could update their ids (to version 2) as follows:
1276+
This will produce output like this:
1277+
1278+
cluster: Os01g0115300 -> Os4530.POR.1.pan0000001
1279+
file: Os01g0115300.cdna.fna -> Os4530.POR.1.pan0000001.cdna.fna
1280+
file: Os01g0115300.cds.fna -> Os4530.POR.1.pan0000001.cds.fna
1281+
file: Os01g0115300.cds.faa -> Os4530.POR.1.pan0000001.cds.faa
1282+
file: Os01g0115300.gdna.fna -> Os4530.POR.1.pan0000001.gdna.fna
1283+
cluster: LOC_Os01g04270 -> Os4530.POR.1.pan0000002
1284+
file: LOC_Os01g04270.cdna.fna -> Os4530.POR.1.pan0000002.cdna.fna
1285+
file: LOC_Os01g04270.cds.fna -> Os4530.POR.1.pan0000002.cds.fna
1286+
file: LOC_Os01g04270.cds.faa -> Os4530.POR.1.pan0000002.cds.faa
1287+
file: LOC_Os01g04270.gdna.fna -> Os4530.POR.1.pan0000002.gdna.fna
1288+
...
1289+
1290+
Now suppose you recomputed or updated the pangene sets changing params or adding extra data.
1291+
You could update the pangene ids (to version 2) as follows:
12771292

12781293
perl rename_pangenes.pl -d magic15_pangenes/rice_0taxa_2neigh_algMmap_ -r Os4530.POR.1 -o Os4530.POR.2
12791294

0 commit comments

Comments
 (0)