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

sequence_locator: alignment error and additional outputs #35

Open
ArtPoon opened this issue Mar 18, 2021 · 2 comments
Open

sequence_locator: alignment error and additional outputs #35

ArtPoon opened this issue Mar 18, 2021 · 2 comments

Comments

@ArtPoon
Copy link
Contributor

ArtPoon commented Mar 18, 2021

I ran the following query:

art@Wernstrom poplars % python3 poplars/sequence_locator.py locate hiv NA ggacgaaagaaagccagagagtctctcgacgcaggactcggcttgctgaagg  

Regions touched by query1

Alignment of the query sequence to HXB2
	Query	 ggacgaaagaaagccagagag--tctctcgacgcaggactcggcttgctgaagg	52
	         .*  .**.*.**.******..  ****************************** 
	Ref  	 agcgaaagggaaaccagaggagctctctcgacgcaggactcggcttgctgaagc	712

The same query gave me the following result with LANL:

 Query GGACGAAAGA -AAGCCAGAG -AG-TCTCTC GACGCAGGAC TCGGCTTGCT  47
          ::::::   :: ::::::  :: :::::: :::::::::: :::::::::: 
  HXB2 AAGCGAAAGG GAAACCAGAG GAGCTCTCTC GACGCAGGAC TCGGCTTGCT  707

 Query GAAGG  52
       ::::      
  HXB2 GAAGC  712

which also returns the following useful information:
Screen Shot 2021-03-18 at 1 22 10 PM

@kwade4
Copy link
Collaborator

kwade4 commented Mar 18, 2021

Thanks for catching that bug! Sorry about that! I will definitely have a look. It's supposed to print the same output as LANL (i.e. a table with the same headings). I suspect that the output isn't printing because of an indexing error.

I'm surprised that the alignment is incorrect - I use MAFFT to align the query and reference sequence.

@ArtPoon
Copy link
Contributor Author

ArtPoon commented Mar 18, 2021

It's not that the alignment is incorrect - there isn't a clean alignment in either case, although there are probably different gap penalties being used. The issue is more about the missing output. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants