Changeset 1458:aa61df21f5ec
- Timestamp:
- 07/29/08 11:24:28
(5 months ago)
- Author:
- dan@scofield.bx.psu.edu
- branch:
- default
- Message:
Bug fix for Concatenate FASTA alignment by species tool.
Also added a warning stating that this tool will only work on Galaxy style FASTA headers.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r1356 |
r1458 |
|
| 356 | 356 | if len( fields ) > 2: |
|---|
| 357 | 357 | for i in xrange( 1, len( fields ) - 1 ): |
|---|
| 358 | | prop = fields[i].split( '=' ) |
|---|
| 359 | | attributes[ prop[0] ] = prop[1] |
|---|
| | 358 | prop = fields[i].split( '=', 1 ) |
|---|
| | 359 | if len( prop ) == 2: |
|---|
| | 360 | attributes[ prop[0] ] = prop[1] |
|---|
| 360 | 361 | if len( fields ) > 1: |
|---|
| 361 | 362 | attributes['__suffix__'] = fields[-1] |
|---|
| r1356 |
r1458 |
|
| 64 | 64 | GTGT |
|---|
| 65 | 65 | |
|---|
| | 66 | |
|---|
| | 67 | .. class:: warningmark |
|---|
| | 68 | |
|---|
| | 69 | This tool will only work properly on files with Galaxy style FASTA headers. |
|---|
| | 70 | |
|---|
| 66 | 71 | </help> |
|---|
| 67 | 72 | </tool> |
|---|