Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature labels are duplicated if they end at the last base #131

Closed
iimog opened this issue Jun 14, 2017 · 1 comment
Closed

Feature labels are duplicated if they end at the last base #131

iimog opened this issue Jun 14, 2017 · 1 comment
Assignees
Labels

Comments

@iimog
Copy link
Member

iimog commented Jun 14, 2017

If a feature ends at the last base of the chromosome its label is duplicated and displayed at the beginning of the sequence as well. This is probably the case because AliTV considers the sequence circular and the last base is also the 0th base. However this behavior is not desired.
To reproduce this problem you can use those snippets:

test.fa

>test
ACGTACGTAC

test.tsv

test	1	4	-1	A
test	7	10	-1	B

test.yml

genomes:
    -
        name: test
        sequence_files:
            - test.fa
        feature_files:
            test:
                - test.tsv
    -
        name: test clone
        sequence_files:
            - test.fa
        feature_files:
            test:
                - test.tsv

and executing

perl alitv.pl test.yml
@iimog iimog added the bug label Jun 14, 2017
@iimog iimog self-assigned this Jun 14, 2017
@iimog
Copy link
Member Author

iimog commented Jun 14, 2017

See the B at the beginning of each sequence:
alitv_feature_label_bug

@iimog iimog mentioned this issue Jun 16, 2017
@iimog iimog closed this as completed in 3cba66b Jun 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant