Mercurial > repos > artbio > mircounts
diff mircounts.py @ 9:2a08a6eb471c draft
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/mircounts commit 6013aaf29ff7aa2d1aab434f2355da327c7ef102
author | artbio |
---|---|
date | Wed, 25 Apr 2018 12:48:27 -0400 |
parents | da1aa7de2b19 |
children | b045c30fb768 |
line wrap: on
line diff
--- a/mircounts.py Mon Apr 23 13:21:16 2018 -0400 +++ b/mircounts.py Wed Apr 25 12:48:27 2018 -0400 @@ -64,7 +64,7 @@ gff_fields = line[:-1].split("\t") if gff_fields[2] == 'miRNA': mir_name = gff_fields[0] - premir_name = gff_fields[8].split('=')[-1] + premir_name = gff_fields[8].split('Parent_mir_Name=')[-1] mir_start = int(gff_fields[3]) mir_end = int(gff_fields[4]) # GFF is 1-based, pysam is 0-based.