Closed ohan-Bioinfo closed 1 year ago
why do you use gnrt_pipeline_local_v38.pyc
?
Because i'm using cloud platform, FireTerra
workflow Xtea {
call Transposable_Element
}
task Transposable_Element {
File input_bam
File genome_tar
File repeats_tar
File Annotation
File sample
command {
ln -s /usr/local/bin/ /cromwell_root/
python /cromwell_root/bin/gnrt_pipeline_local_v38.pyc -D -i ${sample} \
-b ${input_bam} \
-x null --xtea /cromwell_root/bin/ -p /cromwell_root/ -o /cromwell_root/submit.sh \
-l /cromwell_root/${repeats_tar} \
-r ${genome_tar} \
-g ${Annotation} \
-y 1 -f 1 -n 4
sed 's/sbatch/sh/g' submit.sh > submit1.sh
cat submit1.sh
chmod +x submit.sh
sh submit1.sh
}
runtime {
cpu: 4
memory: "24GB"
disks: "local-disk 501 HDD"
docker: "warbler/xteab:v10"
}
output {
File results= "${sample}.Transposable_Element.results"
}
}
Some file cant be found, any suggestion?
Working on "clip" step!
Ave coverage is 0: automatic parameters (clip, disc, clip-disc) with value (1, 3 ,0)
Clip cutoff: 1, 1, 0 are used!!!
[E::hts_open_format] Failed to open file "" : No such file or directory
Traceback (most recent call last):
File "/cromwell_root/bin/x_TEA_main.py", line 419, in <module>
tem_locator.call_TEI_candidate_sites_from_multiple_alignmts(sf_annotation, sf_rep_cns, sf_rep, b_se,
File "/usr/local/bin/x_TEI_locator.py", line 114, in call_TEI_candidate_sites_from_multiple_alignmts
b_with_chr = bam_info.is_chrm_contain_chr()
File "/usr/local/bin/x_alignments.py", line 77, in is_chrm_contain_chr
samfile = pysam.AlignmentFile(self.sf_bam, "rb", reference_filename=self.sf_reference)
File "pysam/libcalignmentfile.pyx", line 751, in pysam.libcalignmentfile.AlignmentFile.__cinit__
File "pysam/libcalignmentfile.pyx", line 950, in pysam.libcalignmentfile.AlignmentFile._open
FileNotFoundError: [Errno 2] could not open alignment file ``: No such file or directory
please use this version https://github.com/parklab/xTea/issues/60
What do he need and cant be found
[E::hts_open_format] Failed to open file "" : No such file or directory
Working on "clip" step!
Ave coverage is 0: automatic parameters (clip, disc, clip-disc) with value (1, 3 ,0)
i'm using this command
Error
Note no flag is giving in the gnrt_pipeline_local_v38.pyc script