Git Product home page Git Product logo

ngs-utils's Introduction

ngs-utils

Collection of notes and scripts related to NGS.

Warning: On the 18th of April 2021, the ngs-utils repository has been cleaned, so a lot of scripts which are not used any more are removed from this repository. If you are still interested in using those you can find the latest versions in this release: 21.03.2 https://github.com/molgenis/ngs-utils/releases/tag/21.03.2

ngs-utils's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ngs-utils's Issues

perl `system()` does what it wants (just like april in a dutch saying)

According to perldoc you should catch all of your system calls with a check of $? if you want your programs to exit nicely if the shell gives an error. Example below.

#set -x or && could be used. Here both are used. 
my $indexcmd = "set -x && bgzip -c $invcf > $outvcf && tabix -p vcf $outvcf";
        my $ret = `$indexcmd`;
        $? == 0 or die "system cmd `$indexcmd` failed: $ret\n exit code: $?";

Example of affected scripts (not exhaustive ):

  • createBWAandSAMtoolsIndices.pl
  • per_folder/index_creator.pl
  • createLocalRealignmentIntervals.pl
  • runpindel.pl
  • maybe every perl script that contains system().

Long commandline options for tortilla.sh don't work

Long commandline options for tortilla.sh don't work when converting CRAM to BAM. (The short version of the commandline opts work fine.)

module load ngs-utils
tortilla.sh --cramToBam -i /groups/umcg-gd/tmp06/cramToBam/Pieter
/apps/software/ngs-utils/18.11.2/CramConversion.sh: illegal option -- -
/apps/software/ngs-utils/18.11.2/CramConversion.sh: illegal option -- c
inputFolder=/groups/umcg-gd/tmp06/cramToBam/Pieter
workDir=/groups/umcg-gd/tmp06/cramToBam/Pieter/BAM
reference=amToBam
starting to convert /groups/umcg-gd/tmp06/cramToBam/Pieter/[some_sample].merged.dedup.bam.cram
amToBam: No such file or directory

prepareGenFromBeagle4 boost lib paths

Hello.

I am having a problem on using prepareGenFromBeagle4 for a pipeline for ShapeIt.
I have downloaded libboost and but it seems that in makefile of prepareGenFromBeagle4, the path for this library is hard-coded for your machine. So, I have changed it, to work on mine too.
The only problem now is that I cant find the folder "/apps/software/Boost/1.60.0-foss-2015b-Python-2.7.9/include/ " and I have no idea how to create it.

It will be useful to include a manual for this application or make paths work on every machine.

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.