Closed yanhaidong1 closed 2 years ago
Hi @yanhaidong1. Thanks for submitting this issue. Can you tell us if you ran the same exact command as in the getting started section of the readme (https://github.com/bergmanlab/mcclintock/#started), or did you invoke mcclintock.py just to run PopoolationTE2 on its own? If you ran a different command than in the getting started section of the readme, can you please post that command here? Also, can you tell us if you ran your mcclintock.py interactively or inside a script submitted to a cluster? Thanks!
Dear Dr. Bergman,
Thank you so much for replying. I ran following the tutorial in the readme but used '-m popoolationte2,retroseq'. Here is what the code in python I used:
source activate /home/hy17471/.conda/envs/mcclintock021022 cmd = 'python3 ' + '/home/hy17471/software/mcclintock/mcclintock.py' + \ ' -r ' + '/scratch/hy17471/Alex_282_TE_011922/test_running_mcclintock_021322/test/sacCer2.fasta' + \ ' -c ' +'/scratch/hy17471/Alex_282_TE_011922/test_running_mcclintock_021322/test/sac_cer_TE_seqs.fasta' + \ ' -1 ' + '/scratch/hy17471/Alex_282_TE_011922/test_running_mcclintock_021322/test/fastq_dir' + '/SRR800842_1.fastq.gz' + \ ' -2 ' + '/scratch/hy17471/Alex_282_TE_011922/test_running_mcclintock_021322/test/fastq_dir' + '/SRR800842_2.fastq.gz' + \ ' -p ' + input_core_num + \ ' -o ' + working_dir + \ ' -m ' + m_str
Also, I ran inside a script submitted to a cluster.
Best wishes, Haidong
Dear Dr. bergman
Sounds good, thanks!
Best wishes Haidong
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O $HOME
//miniconda.sh
bash
~/miniconda.sh -b -p $HOME/miniconda # silent mode
echo "export PATH=\$PATH:\$HOME/miniconda/bin" >> $HOME/.bashrc # add to .bashrc
source $HOME
/.bashrc
conda init
conda update -y conda conda install -y mamba=0.21.2 -c conda-forge
- install mcclintock
git clone git@github.com:bergmanlab/mcclintock.git cd mcclintock mamba env create -f install/envs/mcclintock.yml --name mcclintock conda activate mcclintock python3 mcclintock.py --install
- download test data
python3 test/download_test_data.py
- run mcclintock on test data using only popoolationte2 & retroseq. Note: this code was run inside a bash script submitted to a cluster running slurm 21.08.5. You'll need to run this directly on a worker node or modify the header appropriately.
CONDA_BASE=$(conda info --base) source ${CONDA_BASE}/etc/profile.d/conda.sh conda activate mcclintock
python3 mcclintock.py \ -r test/sacCer2.fasta \ -c test/sac_cer_TE_seqs.fasta \ -g test/reference_TE_locations.gff \ -t test/sac_cer_te_families.tsv \ -1 test/SRR800842_1.fastq.gz \ -2 test/SRR800842_2.fastq.gz \ -p 28 \ -o /scratch/cbergman/mcc_test_2 \ -m popoolationte2,retroseq
- Could you please try a fresh install and directly run mcclintock using the commands above (ie. submit your job outside of your python script) to confirm your installation is correct? Thanks!
Dear Dr. bergman
Thank you so much for the detailed information. I will have a try.
Best wishes, Haidong
@yanhaidong1: were you able to get the test date to run on a clean install? If so, I'd like to close this issue. Thanks!
Hi, when I ran the testing data, it shows the following error. after mapping, there is no 4322700.tmp.bam. Would you help figure it out. thanks!