Code Monkey home page Code Monkey logo

Comments (8)

SionBayliss avatar SionBayliss commented on June 28, 2024

Hi Tim,

There isn't a parameter that can be accessed from the main command currently. If you want a quick hack the you can modify the line below in run_PIRATE.pl to include "-t 75"

	# extract sequences.
	`cat $pirate_dir/genome_list.txt | parallel -k -j $threads \"perl $script_path/extract_feature_sequences.pl -s {} -d $pirate_dir -o $pirate_dir/genome_multifastas/{}.fasta $e_args >> $pirate_dir/gff_parser_log.txt 2>> $pirate_dir/gff_parser_log.txt\"`;

e.g.

	# extract sequences.
	`cat $pirate_dir/genome_list.txt | parallel -k -j $threads \"perl $script_path/extract_feature_sequences.pl -t 75 -s {} -d $pirate_dir -o $pirate_dir/genome_multifastas/{}.fasta $e_args >> $pirate_dir/gff_parser_log.txt 2>> $pirate_dir/gff_parser_log.txt\"`;

I am happy to add a branch with this option to the main script and include it in the next release.

All the best,
Sion

from pirate.

plasmid02 avatar plasmid02 commented on June 28, 2024

Hi Sion - thanks for the super quick reply. Will use this hack and also would be interested in having a branch available in the next release. Tim

from pirate.

SionBayliss avatar SionBayliss commented on June 28, 2024

When I get a spare minute I will set one up for you :)

from pirate.

SionBayliss avatar SionBayliss commented on June 28, 2024

I don't see the nohup warnings you were getting when I created a branch with the same option. Are you still seeing them and are the outputs okay?

S

from pirate.

SionBayliss avatar SionBayliss commented on June 28, 2024

I found an error message with link_clysters.pl but it looks like it maybe an issue of rerunning PIRATE in the same directory with different settings. When I sent outputs to a fresh directory it didn't occur. I will push to master shortly. Thank you for your help and testing.

S

from pirate.

rpetit3 avatar rpetit3 commented on June 28, 2024

Hi @SionBayliss!

I noticed the PR for this feature was merged then reverted (#55). Are there still plans to implement this in the future?

Thanks!

from pirate.

SionBayliss avatar SionBayliss commented on June 28, 2024

I have merged this with another commit that I wanted to push together. The revert was due to reading about the nohup errors after merging and then slightly panicking.

I have pushed them both to master now. The master branch has all of the changes that I previously reverted.

from pirate.

rpetit3 avatar rpetit3 commented on June 28, 2024

I should have waited! Thanks Sion!

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.