-
cd /mnt/my-volume-huge/ 2.screen
-
wget "https://filetransfer.mdc-berlin.de/?u=aGAfkWwg&p=P2k7zjZU&path=/221202_A00643_0600_BHK53TDSX5_P1574/...."
-
ssh -i id-rsa [email protected]
-
create new
screen
by this commandscreen -s arima_screen_name
, if you want to check result you have to go inscreen
screen -ls
- list of screenscreen a
-
docker ps
- get list of running docker and take docker id to enter -
docker exec -it {docker_id} bash
- enter inside of docker -
move R1, R2 to the /Oncology/INPUT/
mv /shared_folder/...R1..fastq.qz /Oncology/INPUT/
-
then run this command when you are in /Oncology folder
bash run_Arima-Oncology-Pipeline-singularity-v0.3.sh -I /Oncology/INPUT/P1574_DNA_01_DHL4_HiChIP_S1_R1_001.fastq.gz,/Oncology/INPUT/P1574_DNA_01_DHL4_HiChIP_S1_R2_001.fastq.gz -o /Oncology/OUTPUT/
7.After running ctrl+a+d
##Checking the screens screen -list screen -r -id If you see the job is done you can move the output folder to the shared folder.
ssh -i id-rsa [email protected]
- check job is done or not
screen -list
- to get id andscreen -r {id of screen}
- if you see
job is finished
, you can start doing step 4, otherwise usectrl+a+d
to deattach from screen, and job will continue in background
- move OUTPUT folder to the shared folder in docker
mv /Oncology/OUTPUT/ /shared_folder/OUTPUT/Farage/
- clean OUTPUT folder
rm -rf /Oncology/OUTPUT
- then close
screen
by usingexit
command multiple times until you exit ssh
screen -X -S[session # you want to kill] quit
ssh -i id-rsa [email protected]
- use
htop
, and if CPU usage is high, it means that job is still running in background.
docker run -it --network host -v /home/cloud/shared_folder/:/shared_folder/ --name arima_oncology --privileged arimaxiang/arima_oncology:0.3
https://stackoverflow.com/a/66978973
(it would be better to download file in host server not in docker)
wget ftp://ftp-arimagenomics.sdsc.edu/pub/ARIMA_Oncology_Pipeline/Arima-Oncology-Pipeline-singularity-v0.2.sif shared_folder
bash run_Arima-Oncology-Pipeline-singularity-v0.3.sh -I /Oncology/INPUT/P1574_DNA_01_DHL4_HiChIP_S1_R1_001.fastq.gz,/Oncology/INPUT/P1574_DNA_01_DHL4_HiChIP_S1_R2_001.fastq.gz -o /Oncology/OUTPUT/