Skip to content
This repository has been archived by the owner on May 11, 2020. It is now read-only.

Nicely display longer alignments over multiple lines #3

Open
Xyaneon opened this issue Nov 5, 2014 · 1 comment
Open

Nicely display longer alignments over multiple lines #3

Xyaneon opened this issue Nov 5, 2014 · 1 comment

Comments

@Xyaneon
Copy link
Owner

Xyaneon commented Nov 5, 2014

From the class notes website:

For extra credit on Homework Assignment 3, add numbers to make longer alignments more readable something like this:

$ ruby semi-global.rb acalifornia2009.fasta acalifornia2009m1.fasta
Alignment 1
Sequence 1 0001 TAGATATTAAAGATGAGTCTTCTAACCGAGGTCGAAACGTACGTTCTTTCTATCATCCCG
                            ||||||||||||||||||||||||||||||||||||||||||||||||
Sequence 2 0001 ____________ATGAGTCTTCTAACCGAGGTCGAAACGTACGTTCTTTCTATCATCCCG

Sequence 1 0061 TCAGGCCCCCTCAAAGCCGAGATCGCGCAGAGACTGGAAAGTGTCTTTGCAGGAAAGAAC
                ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Sequence 2 0049 TCAGGCCCCCTCAAAGCCGAGATCGCGCAGAGACTGGAAAGTGTCTTTGCAGGAAAGAAC

Sequence 1 0121 ACAGATCTTGAGGCTCTCATGGAATGGCTAAAGACAAGACCAATCTTGTCACCTCTGACT
                ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Sequence 2 0109 ACAGATCTTGAGGCTCTCATGGAATGGCTAAAGACAAGACCAATCTTGTCACCTCTGACT

Sequence 1 0181 AAGGGAATTTTAGGATTTGTGTTCACGCTCACCGTGCCCAGTGAGCGAGGACTGCAGCGT
                ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Sequence 2 0169 AAGGGAATTTTAGGATTTGTGTTCACGCTCACCGTGCCCAGTGAGCGAGGACTGCAGCGT

Sequence 1 0241 AGACGCTTTGTCCAAAATGCCCTAAATGGGAATGGGGACCCGAACAACATGGATAGAGCA
                ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Sequence 2 0229 AGACGCTTTGTCCAAAATGCCCTAAATGGGAATGGGGACCCGAACAACATGGATAGAGCA

Sequence 1 0301 GTTAAACTATACAAGAAGCTCAAAAGAGAAATAACGTTCCATGGGGCCAAGGAGGTGTCA
                ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Sequence 2 0289 GTTAAACTATACAAGAAGCTCAAAAGAGAAATAACGTTCCATGGGGCCAAGGAGGTGTCA

Sequence 1 0361 CTAAGCTATTCAACTGGTGCACTTGCCAGTTGCATGGGCCTCATATACAACAGGATGGGA
                ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Sequence 2 0349 CTAAGCTATTCAACTGGTGCACTTGCCAGTTGCATGGGCCTCATATACAACAGGATGGGA

Sequence 1 0421 ACAGTGACCACAGAAGCTGCTTTTGGTCTAGTGTGTGCCACTTGTGAACAGATTGCTGAT
                ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Sequence 2 0409 ACAGTGACCACAGAAGCTGCTTTTGGTCTAGTGTGTGCCACTTGTGAACAGATTGCTGAT

Sequence 1 0481 TCACAGCATCGGTCTCACAGACAGATGGCTACTACCACCAATCCACTAATCAGGCATGAA
                ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Sequence 2 0469 TCACAGCATCGGTCTCACAGACAGATGGCTACTACCACCAATCCACTAATCAGGCATGAA

Sequence 1 0541 AACAGAATGGTGCTGGCTAGCACTACGGCAAAGGCTATGGAACAGATGGCTGGATCGAGT
                ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Sequence 2 0529 AACAGAATGGTGCTGGCTAGCACTACGGCAAAGGCTATGGAACAGATGGCTGGATCGAGT

Sequence 1 0601 GAACAGGCAGCGGAGGCCATGGAGGTTGCTAATCAGACTAGGCAGATGGTACATGCAATG
                ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Sequence 2 0589 GAACAGGCAGCGGAGGCCATGGAGGTTGCTAATCAGACTAGGCAGATGGTACATGCAATG

Sequence 1 0661 AGAACTATTGGGACTCATCCTAGCTCCAGTGCTGGTCTGAAAGATGACCTTCTTGAAAAT
                ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Sequence 2 0649 AGAACTATTGGGACTCATCCTAGCTCCAGTGCTGGTCTGAAAGATGACCTTCTTGAAAAT

Sequence 1 0721 TTGCAGGCCTACCAGAAGCGAATGGGAGTGCAGATGCAGCGATTCAAGTGATCCTCTCGT
                |||||||||||||||||||||||||||||||||||||||||||||||||||         
Sequence 2 0709 TTGCAGGCCTACCAGAAGCGAATGGGAGTGCAGATGCAGCGATTCAAGTGA_________

Sequence 1 0781 CATTGCAGCAAATATCATTGGGATCTTGCACCTGATATTGTGGATTACTGATCGTCTTTT

Sequence 2 0760 ____________________________________________________________

Sequence 1 0841 TTTCAAATGTATTTATCGTCGCTTTAAATACGGTTTGAAAAGAGGGCCTTCTACGGAAGG

Sequence 2 0760 ____________________________________________________________

Sequence 1 0901 AGTGCCTGAGTCCATGAGGGAAGAATATCAACAGGAACAGCAGAGTGCTGTGGATGTTGA

Sequence 2 0760 ____________________________________________________________

Sequence 1 0961 CGATGGTCATTTTGTCAACATAGAGCTAGAGTAAAAAACTAC

Sequence 2 0760 __________________________________________
@Xyaneon Xyaneon self-assigned this Nov 5, 2014
@Xyaneon Xyaneon added this to the Homework 3 Due Date milestone Nov 5, 2014
@Xyaneon
Copy link
Owner Author

Xyaneon commented Nov 7, 2014

No longer targeted for the due date, since we're past that now.

@Xyaneon Xyaneon removed this from the Homework 3 Due Date milestone Nov 7, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant