# HG changeset patch # User jay # Date 1609299575 0 # Node ID 42815cbb8c16bd92a1896e3bda7f4a94dab4344c # Parent fa14a32e0d953cac8d9b61da6be0bf94827a0b80 "planemo upload for repository https://github.com/jaidevjoshi83/pdaug commit edb37634e419f75dd66292e712de51278746d883" diff -r fa14a32e0d95 -r 42815cbb8c16 PDAUG_TSVtoFASTA/PDAUG_TSVtoFASTA.py --- a/PDAUG_TSVtoFASTA/PDAUG_TSVtoFASTA.py Tue Dec 29 19:26:46 2020 +0000 +++ b/PDAUG_TSVtoFASTA/PDAUG_TSVtoFASTA.py Wed Dec 30 03:39:35 2020 +0000 @@ -27,12 +27,12 @@ if l[1] in line.split('\t')[1].strip('\n').strip('\r'): n= n+1 - of1.write('>peptide_'+str(n)+'_'+str(l[0])+'\n') + of1.write('>peptide_'+str(n)+'_'+str(l[1])+'\n') of1.write(line.split('\t')[0]+'\n') if l[0] in line.split('\t')[1].strip('\n').strip('\r'): m= m+1 - of2.write('>peptide_'+str(m)+'_'+str(l[1])+'\n') + of2.write('>peptide_'+str(m)+'_'+str(l[0])+'\n') of2.write(line.split('\t')[0]+'\n') elif Method == 'NoClassLabel':