Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mmassaviol
WAWmassaviol
Commits
bad74a17
Commit
bad74a17
authored
Oct 12, 2021
by
khalid
Browse files
debug radsex_map_region plot
parent
52b183ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
tools/radsex_map/radsex_map.prepare.report.R
View file @
bad74a17
...
...
@@ -19,9 +19,12 @@ if ( chromosome_file == ""){
radsex_map_circos
(
fichiers
,
output_file
=
output_file
,
chromosomes_file
=
chromosome_file
)
if
(
file.exists
(
signi_out_file
)
)
{
regions
=
read.table
(
signi_out_file
,
header
=
TRUE
,
sep
=
"
\t
"
)
regions
=
read.table
(
signi_out_file
,
header
=
TRUE
,
sep
=
"
"
)
chromosomes
=
read.table
(
chromosome_file
,
header
=
FALSE
,
sep
=
"\t"
)
reg
=
chromosomes
[
which
(
chomosomes
[,
1
]
==
regions
[
1
,
2
]),
2
]
radsex_map_region
(
fichiers
,
region
=
reg
,
chromosomes_file
=
chromosome_file
,
output_file
=
"mapping_to_first_contig_mqc.png"
)
contigs
=
unique
(
regions
[,
2
])
for
(
ctg
in
contigs
){
reg
=
chromosomes
[
which
(
chromosomes
[,
1
]
==
ctg
),
2
]
radsex_map_region
(
fichiers
,
region
=
reg
,
chromosomes_file
=
chromosome_file
,
output_file
=
paste0
(
parameters
$
results_dir
,
"/"
,
parameters
$<
step_name
>
__
radsex_map_output_dir
,
"/mapping_to_"
,
reg
,
"_mqc.png"
)
)
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment