Giter Site home page Giter Site logo

Comments (2)

SionBayliss avatar SionBayliss commented on August 12, 2024

Dear Feng Yu,

That is odd. Unfortunately, I didn't make the error message terrible informative. That specific error message does not kill the script so it is likely that it has only failed to align a single gene g037324 as indicated by the error below. If you could inspect that file and identify if there are any obvious issue with it (e.g. unalignable characters, odd formatting, blank sequences) it would be much appreciated.

You can do this by re-aligning that problematic gene. If you provide a modified PIRATE.gene_families.tsv fie to align_feature_sequences.pl which only contains a single line for g037324 then it will realign that problem gene:

perl ./PIRATE_script_path/align_feature_sequences.pl --dosage 1.25 -i PIRATE.gene_familes.MODIFIED.tsv -g ./PIRATE/modified_gffs/ -o PIRATE/feature_sequences/ -p 1

If you comment out (put a #) before the line below in align_feature_sequences.pl then you should be able to view the intermediate file created by this script which will contain the sequences to be aligned:

unlink "$output_dir/$cluster.fasta";

change to: (and save)

#unlink "$output_dir/$cluster.fasta";

This should give you some insight into why the script is failing on that gene.

I hope that helps,
Sion

from pirate.

fengyuchengdu avatar fengyuchengdu commented on August 12, 2024

Thanks much for your swift reply. These do help me a lot.

from pirate.

Related Issues (20)

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.