GithubHelp home page GithubHelp logo

btmartin721 / file_converters Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 2.0 57 KB

File conversion scripts for DNA sequence data

License: MIT License

Python 100.00%
fileconversion sequence-alignment dna-sequences pyrad loci fasta phylip converter conversion-script svdquartets

file_converters's Introduction


Hi there!
I'm Bradley T. Martin, PhD
Bioinformatician, Data Scientist,
Evolutionary Biologist, and Population Geneticist

Twitter URL Follow me on Twitter!

โœ‰๏ธ [email protected]


I earned my Ph.D. in Biological Sciences, focusing on evolutionary biology and population genomics. While pursuing my doctorate, I developed a love for programming. Currently, I work as a bioinformatician and data scientist, specializing in developing machine learning software to process and analyze short-read and long-read genomic data.

I enjoy learning and new challenges and greatly enjoy my work. For personal projects, I am currently developing several new software to implement machine learning into population genomic analyses, which shows promise for resolving long-standing issues involving introgression, species delimitation, and phylogenomics.


๐Ÿงฐ Toolbox

Python Logo R Logo Java Logo Bash Logo C Plus Plus Logo Java Logo Perl Logo



๐Ÿ“ˆ My GitHub Stats

Top Langs

Bradley's GitHub Stats


file_converters's People

Contributors

btmartin721 avatar tkchafin avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

tkchafin 00mjk

file_converters's Issues

Not reading .loci file correctly

Hello developer,

I am trying to convert a .loci file from ipyrad into fasta alignments, without success.

I get the following warnings:

Warning: skipping read 'loc_13242' because it was < 2 characters long
Warning: skipping read 'loc_13292' because length (0) <= # seed mismatches (0)

Here is a snippet of my .loci file:
aglais.loci.txt

I am very new to bioinformatics and scripts; I am sorry if this is very easy to solve.

Thank you in advance for the help.

Trouble getting loci2phylip and loci2fasta to work

hello,
I have been trying to get each locus as a phylip or fasta for use as inputs for RAxML. When I run :

python3.5 loci2phylip.py --loci ipy002-noTess-reducedBrise_min50perc.loci

I get an error (I am not sure what it means):

Traceback (most recent call last):
File "loci2phylip.py", line 81, in
for aln, lcount, icount, slen in locusGenerator(fin, locus_num):
File "loci2phylip.py", line 43, in locusGenerator
yield locus, locus_count, ind_count, seq_len
UnboundLocalError: local variable 'seq_len' referenced before assignment

when I tried the same file for loci2fasta it produced empty fasta files.

do you know what could be the issue?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.