Mercurial > repos > galaxyp > percolator
comparison nested_collection.py @ 2:7a0951d0e13e draft
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/percolator commit 4ca7fcd1587c906db3314048a223d23b63b3f038
author | galaxyp |
---|---|
date | Fri, 10 Mar 2017 03:20:52 -0500 |
parents | 86770eea5b09 |
children | abed51712ed0 |
comparison
equal
deleted
inserted
replaced
1:86770eea5b09 | 2:7a0951d0e13e |
---|---|
42 parser.add_argument('--pool-ids', dest='poolids', nargs='+', default=False) | 42 parser.add_argument('--pool-ids', dest='poolids', nargs='+', default=False) |
43 args = parser.parse_args() | 43 args = parser.parse_args() |
44 for batchcount, (pool_id, batch) in enumerate(get_batches_of_galaxyfiles( | 44 for batchcount, (pool_id, batch) in enumerate(get_batches_of_galaxyfiles( |
45 args.realnames, args.batchsize, args.poolids)): | 45 args.realnames, args.batchsize, args.poolids)): |
46 for fncount, batchfile in enumerate([args.galaxyfiles[index] for index in batch]): | 46 for fncount, batchfile in enumerate([args.galaxyfiles[index] for index in batch]): |
47 dsetname = '{}___batch{}_inputfn{}.mzid'.format(pool_id, batchcount, fncount) | 47 dsetname = '{}_batch{}___inputfn{}.mzid'.format(pool_id, batchcount, fncount) |
48 print('producing', dsetname) | 48 print('producing', dsetname) |
49 os.symlink(batchfile, dsetname) | 49 os.symlink(batchfile, dsetname) |
50 | 50 |
51 if __name__ == '__main__': | 51 if __name__ == '__main__': |
52 main() | 52 main() |