Coder Social home page Coder Social logo

Comments (7)

yizhwan avatar yizhwan commented on August 11, 2024

Furthermore, if there any way to turn off brain extraction and N4 bias correction for T1 if you have already performed these operations with another pipeline and give tractoflow the skull stripped T1 with a brain mask?

from tractoflow.

arnaudbore avatar arnaudbore commented on August 11, 2024

Hi @yizhwan ,

I would need to know what's in this file: $pathto/dwi_preproc/work/98/750822d4c3c955352fd33dc556cc96/.command.err

Profiles should be separated by commas like this profiles

Sadly so far, brain extraction and N4 bias correction can't be avoided. I will code this for the next release.

from tractoflow.

yizhwan avatar yizhwan commented on August 11, 2024

Hi, thanks for your quick response. The .command.err shows:

[[31mFATAL: ^[[0m container creation failed: mount /proc/self/fd/3->/usr/local/var/singularity/mnt/session/rootfs error: while mounting image /proc/self/fd/3: failed to find loop device: could not attach image file to loop device: no loop devices available

from tractoflow.

yizhwan avatar yizhwan commented on August 11, 2024

I am now able to get tractoflow working via Docker on my system with the following command via bash shell script:

NXF_VER=22.10.4 nextflow run tractoflow -r 2.4.2 --input $wkdir/data/derivatives/dwi_preproc -profile use_cuda,ABS,fully_reproducible --readout 0.0708501 --run_t1_denoising false --processes 4 --run_pft_tracking false -with-docker scilus/scilus:1.5.0 -resume

My questions are:

  1. Should I just continue to do this, instead of SIngularity or is there a fix for my previous singularity issue?
  2. TF works fine until it tries to run eddy_cuda. The error log says:

WARNING:root:eddy_cuda not found. If executing locally, please install the command from the FSL library and make sure it is available in your path.
WARNING:root:Least-square resampling disabled since number of directions in both phase directions differ.
eddy.sh: 1: eddy_cuda: not found

Now this is odd because I am running TF in a conda environment where I have eddy_cuda installed and I have tested eddy_cuda- it runs fine.

Furthermore, $FSLDIR is in my .bashrc and my $FSLDIR/bin shows that eddy_cuda points to the right path:

eddy_cuda -> /usr/local/KUL_apps/eddy_cuda/eddy_cuda11.2

Could this be because TF is looking for a different version of eddy_cuda?

from tractoflow.

arnaudbore avatar arnaudbore commented on August 11, 2024

Hi @yizhwan ,

I am now able to get tractoflow working via Docker on my system with the following command via bash shell script:

Great news

NXF_VER=22.10.4 nextflow run tractoflow -r 2.4.2 --input $wkdir/data/derivatives/dwi_preproc -profile use_cuda,ABS,fully_reproducible --readout 0.0708501 --run_t1_denoising false --processes 4 --run_pft_tracking false -with-docker scilus/scilus:1.5.0 -resume

My questions are:

  1. Should I just continue to do this, instead of SIngularity or is there a fix for my previous singularity issue?

I would say yes if you get stuck with singularity, go with docker. It's not a tractoflow issue but more a singularity one.
Which version of singularity are you using ? Can you try to delete singularity and install apptainer ?

  1. TF works fine until it tries to run eddy_cuda. The error log says:

WARNING:root:eddy_cuda not found. If executing locally, please install the command from the FSL library and make sure it is available in your path. WARNING:root:Least-square resampling disabled since number of directions in both phase directions differ. eddy.sh: 1: eddy_cuda: not found

Now this is odd because I am running TF in a conda environment where I have eddy_cuda installed and I have tested eddy_cuda- it runs fine.

Just add --eddy_cmd eddy_cuda10.2

Furthermore, $FSLDIR is in my .bashrc and my $FSLDIR/bin shows that eddy_cuda points to the right path:

eddy_cuda -> /usr/local/KUL_apps/eddy_cuda/eddy_cuda11.2

Could this be because TF is looking for a different version of eddy_cuda?

No, I just need to add a symlink eddy_cuda -> eddy_cuda10.2 in the container.

from tractoflow.

arnaudbore avatar arnaudbore commented on August 11, 2024

Dear @yizhwan,
Do you still have any issue with tractoflow ? Otherwise I will close this issue.

from tractoflow.

yizhwan avatar yizhwan commented on August 11, 2024

Many thanks, I can confirm Tractoflow is working now in it's default method. I did open another request regarding customising the run though.

from tractoflow.

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.