I did some work on the Biblical genealogies. There are three total posts.
Here is the first, and most important one, on the Bible’s genealogical record from Adam to Abraham.
Here is the second on the lines of Japeth and Ham.
Here is the third on genealogical record from Abraham to David and then David to the exile. This includes a discussion of Matthew’s genealogy.